878 reputation
510
bio website
location
age
visits member for 5 years, 3 months
seen Aug 11 at 12:17

Nov
21
comment /usr/bin/mail equivalant for | sendmail -t
Is myfile an executable, or do you mean to do <myfile sendmail -t?
Nov
19
comment Prepend new vim buffer with 2 new lines
If merely adding blank lines, I would prefer romainl's suggestion: vim -c 'normal 2O' +3
Nov
19
revised Prepend new vim buffer with 2 new lines
deleted 18 characters in body
Nov
19
answered Prepend new vim buffer with 2 new lines
Sep
17
comment Change install path to /usr/bin instead of /usr/local/bin
When you install via make install, you are not using a package management system, and it is not really appropriate to say that you are installing packages. You are installing unpackaged software.
Sep
13
comment What is effect of CTRL + Z on a unix\Linux application
^Z sends SIGTSTP, not SIGSTOP
Aug
6
awarded  Revival
Aug
6
awarded  Yearling
Jun
6
comment in Linux, how to go to the folder above the symbolic link folder of the actual path?
This solution works, but only in certain settings. For example, in bash set -P will enable this, but set +P will cause it to fail. In either case, cd -P .. should work.
Jun
4
answered Is there a bash wildcard for changing directories?
May
31
answered How to install Autoconf on OS X from source?
May
29
revised How can I set a git config item as a function?
added 3 characters in body
May
29
comment How can I set a git config item as a function?
@kopischke You are probably right and github.password is correct.
May
28
revised How can I set a git config item as a function?
added 380 characters in body
May
28
answered How can I set a git config item as a function?
May
28
comment Send all error messages to a text file?
+1, but using '&>' to redirect both streams is arguably not valid shell syntax. dash for one will parse the & as a terminator so that ls &> foo becomes 2 commands: ls is run in the background and foo is truncated. It is not safe to use that construct. Personally, I believe the dash semantics are correct, but enough shells conflict with the language spec on this case that "ambiguous" is the only reasonable adjective to describe the parsing without triggering an unholy flame war. Avoid '&>'
May
1
answered Unix tools: what if a file is named minus something?
Apr
27
comment How come cd doesn't work in my shell script?
It looks like $HOME is not set properly. As gpojd suggests, stop using the tilde.
Apr
27
answered How come cd doesn't work in my shell script?
Apr
27
answered Why is sudo bash needed?