12,442 reputation
12036
bio website
location
age 30
visits member for 4 years, 2 months
seen yesterday

Apr
9
comment How to print process id into statment
You have basic syntax errors for what you want to achieve. See e.g. stackoverflow.com/q/16072351/445621 for an example of command substitution into a shell variable.
Mar
31
comment VLC bash transcoding script destination directory
@Dezmond: "Locally" as in "on my computer". Try grabbing the script from pastebin.com/DhZ7yjsC instead; perhaps there is some issue with Stack Exchange code markup that I'm not seeing here.
Mar
29
comment Alias not working
@grawity: All right, I mostly use Mercurial in a similar way that has had such a switch for a long time. I looked it up for Git in the manual on my local system as I wrote the above, since I just assumed it would have a similar switch :-) . Stack Overflow has a question that confirms that it is quite recent; only since 1.8.5, actually.
Mar
29
comment What is the different between “sudo su” and “sudo bash”?
@EarthEngine: Just write cat <<EOF | sudo tee -a file, followed by content and a new EOF. Your order works as well. Also, the FAQ linked by @AvinashRaj explains the difference in sudo su and sudo bash further down: Special notes on sudo and shells
Mar
29
comment Alias not working
Note that the command can be written in a slightly more straightforward way: ssh user@host git -C /var/www/blog/posts pull.
Mar
29
comment What is the different between “sudo su” and “sudo bash”?
You can use sudo tee for redirection with sudo rights.
Mar
29
answered Delete all empty folders, even with .svn folders in it
Mar
24
reviewed Reject suggested edit on Run user code safely
Mar
24
reviewed Reject suggested edit on Run user code safely
Mar
24
reviewed Reject suggested edit on Where does the custom network icon show up?
Mar
24
reviewed Approve suggested edit on Snow Leopard: make command not found, even though XCode is installed?
Mar
24
reviewed Approve suggested edit on rsync from two servers to a common location
Mar
23
reviewed Approve suggested edit on what to do with system installed python versions when starting with pythonbrew
Mar
23
reviewed Approve suggested edit on How should I virtualise my workstation?
Mar
23
reviewed Approve suggested edit on Installing NetBeans IDE + GlassFish in Dropbox
Mar
23
comment VLC bash transcoding script destination directory
@Dezmond: I tried pasting and running it locally, and it worked. Check your pasting again. I'm running it with Dash as interpreter, which quickly breaks on anything non-standard, so I can't currently see where the syntax error could come from if it is pasted correctly. Note though that the script gives unexpected results if there are no matching files in the given directory, but that should make itself clear upon trying. So, write the script to e.g. the file transcoder.sh, make it executable: chmod +x transocer.sh and run it with ./transcoder.sh.
Mar
21
awarded  Deputy
Mar
20
reviewed Reject suggested edit on Why does the margin on a numbered list over 99 become large (2007 Word)?
Mar
20
reviewed Approve suggested edit on How do I disable Google Chrome silent updates?
Mar
18
reviewed Approve suggested edit on System (ACPI.sys) is always using about 15-20% of my CPU