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

  • 0 posts edited
  • 0 helpful flags
  • 40 votes cast
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?
Apr
27
comment Why is sudo bash needed?
Allowing 'sudo bash' for user X does not necessarily allow all users in the sudoers file to run bash.
Apr
19
answered tmux vs. screen
Apr
18
answered Errors bootstrapping pkgsrc on RHEL5.2
Apr
17
awarded  Student
Apr
17
asked Errors bootstrapping pkgsrc on RHEL5.2
Nov
25
comment Kill -9 doesn't kill process in Ubuntu
You cannot kill it because it is already dead. That's why it's called a zombie. ("defunct" is much less descriptive)
Nov
15
awarded  Yearling
Nov
15
answered How to determine linux version on server
Nov
10
comment ls: cannot access /directory/path/*.rar: No such file or directory
apologies--I was thinking the OPs issue was that ls was set to a function or an alias that was munging the quotes; but in fact it is my function that was causing "*" to expand! I cannot remove the downvote unless you edit your answer.
Nov
10
comment ls: cannot access /directory/path/*.rar: No such file or directory
A * inside single quotes is treated literally. A * inside double quotes is expanded as a glob.
Nov
2
answered Can't seem to uninstall git
Oct
29
comment What is the unix command to find out what executable file corresponds to a given command?
Be careful: if ls is a function or is aliased, you want 'type ls' rather than 'which ls'
Oct
1
answered Use full ascii table to file name in linux