Reputation
3,567
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
5 19
Newest
 Excavator
Impact
~339k people reached

Mar
6
comment Xen domU sort of ignores /etc/network/interfaces
It says already up.
Mar
5
comment Xen domU sort of ignores /etc/network/interfaces
I am sorry, I do not understand your answer. When I log into the machine ip link show reports the interfaces as up.
Feb
25
comment how to give read, write and execute permission to other user to access mounted shared directory
Have you ever tried chmod 777 /home/nfs_local? Why didn't it work? What export/mount options did you use?
Feb
23
comment sed command and formatting one line help
@jasonwryan: The question is tagged with sed though :D
Feb
23
reviewed Edit sed command and formatting one line help
Feb
23
revised sed command and formatting one line help
How can you be certain the OP did not intentionally put >> in the beginning?
Feb
23
comment sed command and formatting one line help
Well, in this particular case I'd try s/^\(.\).*|\([^ ]*\).*$/\1\2/ but I don't know if that is what you are looking for.
Feb
12
comment Use bash's read builtin without a while loop
@Scott: ad edit of my question. are you sure removing the pipe symbol does not make the the last paragraph false ...?
Jan
1
revised How to use pulseaudio for network stream with Raspbmc (Kodi)?
typo
Jan
1
revised How to use pulseaudio for network stream with Raspbmc (Kodi)?
added code block markup
Jan
1
answered How to use pulseaudio for network stream with Raspbmc (Kodi)?
Dec
26
comment How does ps get the executable of processes of other users?
How do you make ps show the running executable? The "usual" output I get is /proc/<pid>/cmdline, which is a world readable file ...
Nov
26
answered Bash scripts ran from from gnome/nautilus don't have enviroment variables
Nov
17
reviewed Approve removing extensions in a column
Nov
8
comment Convert all non-JPG images to JPGs
@user8547: yes, that should work. I don't think convert will modify in place, but you can add a line right after the convert line rm ${FILENAME}, which will delete the original file.
Nov
7
comment Convert all non-JPG images to JPGs
@don_crissti: but the man page shipped with Debian does. So this feature still needs to spread it seems ... or the man page is broken. Documentation is not valued as much as it used to be.
Nov
7
comment Convert all non-JPG images to JPGs
@user8547: no, you forgot the * before the . and a ; after FILENAME and another ; after jpg. The newlines matter. Maybe your shell's manual can help you with these details ...
Nov
7
comment Convert all non-JPG images to JPGs
@user8547: if you are specifically looking to convert just all bmp and png images, you can use the while loop provided above, but replace ls | grep -v jpg$ with echo *.{bmp,png}. Within that echo statement, you can even complement the ,-separated list of extentions to include other formats as well.
Nov
7
comment Convert all non-JPG images to JPGs
@user8547: no, it won't. You need to iterate over all filenames, you cant just supply them all to mogrify.
Nov
7
answered Convert all non-JPG images to JPGs