283 reputation
18
bio website
location
age
visits member for 3 years, 11 months
seen Dec 12 at 14:10

Nov
12
comment Colour tail of Apache logs
Did you test it? IT doesn't output anything for me.
Aug
28
comment Error starting postgresql server on ubuntu
I don't know off-hand. Try 644.
Feb
25
comment apache log analyzer with IP information is needed
Duplicate by same person: serverfault.com/questions/375794/…
Feb
25
comment A software to analyze Apache log is needed
Duplicate by same person: serverfault.com/questions/286342/…
Oct
6
comment Bash: Execute piped lines from stdin
I was posting the following edit to my question, but the answers came in so quickly I didn't get a chance. [Edit: I know that I can execute commands from within Python, but repeatedly calling popen or whatever seems less efficient than just executing a "script".] I wanted a quick and simple solution that allows me to run the Python script first to check that it's outputting the correct commands before piping it to bash, so the accepted solution above does exactly what I want.
Oct
6
comment Bash: Execute piped lines from stdin
Thanks. I didn't know about using ;. Very useful to know.
Oct
6
comment Bash: Execute piped lines from stdin
Thanks. I had no idea it was that simple, so I didn't bother to even try it first :)
Oct
3
comment In bash how do you delete a partial word similar to ctrl-w
Various Emacs bindings do work in bash (terminator, gnome-terminal or xterm in Ubuntu 10.04 LTS), but M-Del doesn't (it returns ~3). Any ideas?
Jul
26
comment Emacs/tramp: sudo to root on localhost hangs after asking for password
Thanks -- this worked. Ubuntu 10.04 LTS with Emacs 23.1.1. Installed latest 2.1 tramp (2.1.19) and dependencies. My username on the remote machine is different to my local username so I used "USERNAME@%h" in your answer here: stackoverflow.com/questions/3465567/…
Jan
24
comment how to use du to see files greater than a threshold size
I think gt5 mentioned above may be what you are looking for.
Jan
24
comment how to use du to see files greater than a threshold size
Thanks, gt5 looks very interesting it. I'm going to install it now. Of course there is also "baobab" for GUI.
Jan
18
comment Fedora 13 becomes unresponsive when too many applications running
Reinstall or try a different distribution or a different browser or a different version of Eclipse?
Jan
18
comment Fedora 13 becomes unresponsive when too many applications running
To confirm, 'top' reports that Chrome and Eclipse are using all the CPU? Are you running code when this happens? Is it a bug in your code?
Jan
17
comment Fedora 13 becomes unresponsive when too many applications running
What you are experiencing is certainly not typical behaviour for any Linux machine. You need to isolate the application which is causing the problem. For example, if the problem only exhibits with Chrome or Eclipse. If one process is hogging the CPU, other applications may also not respond, making it look as though that application is hanging. You could also try a different distribution. How have you tested RAM and HDD?
Jan
17
comment Hardlink files not the same
That would mean creating a second repository? At present all files under one folder are versioned, which is my repository.
Jan
17
comment Hardlink files not the same
That does "solve" it in the sense that the file is then (always) available in the target folder. The versioning is then the problem however: the soft link is versioned and then points to the "wrong" location for the source file from another machine. I'm using Bazaar.
Jan
17
comment Hardlink files not the same
Yes, I think this is exactly what is happening. The file is deleted and recreated on each update. Thanks. It was a session file from Firefox under Ubuntu Linux for reference.
Jan
17
comment Hardlink files not the same
This problem presents itself even before I execute any versioning on the files. In fact, I've just tested it by hardlinking the source to a file in a folder I just created. Running that code (very useful thanks; I was not familiar with "-samefile") shows that the hardlink is in place. Each file has a link count of 2. I ran a "watch md5sum ..." on the files, and after a minute or so when the source is modified, the sums are different. And now the link count for both files is 1! Someone the hardlink has been broken?