Reputation
898
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 11
Newest
 Cleanup
Impact
~65k people reached

  • 0 posts edited
  • 0 helpful flags
  • 40 votes cast
Jan
31
comment Grant root privileges only for one directory
If you merely want a user to have full read/write/execute permission on /opt/myapp, then set the permissions that way. If you want something else, you will need to clarify.
Jan
3
answered Bash shell scripting rsync
Dec
25
answered Does running the 'find' command fork a new process?
Dec
11
comment What is the Unix PATH variable and how do I add to it?
In csh, you can run set PATH=/directory/to/add:$PATH:/low/priority/path. However, in the sh family (bash, ksh, zsh, etc), that does not set the variable PATH at all, but assigns to $1.
Dec
6
comment What is going wrong with cat
Does test1 have a newline at the end? If not, the output of cat will be a single line. Perhaps you can try: echo > newline; cat test1 newline test2 newline > output.
Nov
26
comment Copy files above 500kB from one directory to another in Ubuntu
Do you want to copy, move, or make a link? You probably want to either move or make a (hard) link. Copying is rarely necessary.
Nov
21
answered tmux copy mode freezes on a vagrant virtual machine session
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, Automake and related tools on Mac 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.