Reputation
22,093
Next tag badge:
93/100 score
17/20 answers
Badges
6 47 80
Newest
 Good Answer
Impact
~1.3m people reached

May
24
comment Interpreting regex wildcards with grep
In grep \., the shell sees the backslash as an escape character, but a dot doesn't need escaping, so it's converted to .. So both commands look the same to grep. Try grep '\.'.
May
21
comment Is it possible to execute a binary without specifying the full path or the preceding './'?
This doesn't appear to answer the question. Probably why it got so many downvotes. I'd suggest deleting the answer.
May
21
comment Why, by design, are group permissions ignored for the owner of a file?
You phrased the question "Why, by design, are group permissions ignored for the owner of a file?". The existing question already seems to answer that question perfectly. Adding "it would be better if it did something different" doesn't make it a new question as far as I can see.
May
21
comment Why, by design, are group permissions ignored for the owner of a file?
The question you linked to already answers your question. Stating that there are now use cases that would work better if UNIX had been implemented differently doesn't change the answer to "why does UNIX work that way?".
May
21
comment Can a command be executed without a shell?
You never explained how you implemented the directory parameter.
May
15
comment ffmpeg transcoding with find, “{}” and spaces in filename: I get “No such file or directory”. How to solve?
Please always include the exact error message when asking a question.
May
14
answered bugzilla-IRC integration
May
13
comment Ubuntu changing shell on me
You're making some assumptions. Please paste the actual error message in the question.
May
13
comment Manipulating X key and pointer grabs on the command line
Thanks! This helped me discover that xfsettingsd was stealing my Win + L shortcut.
May
13
comment “ls -l” shows some abnormal files with “?”
Did you copy+paste that output, or type it manually? Can you double check it's exactly correct?
May
12
comment Orphaned connections in CLOSE_WAIT state
Thanks, updated to unix.derkeiler.com/Mailing-Lists/SunManagers/2006-01/…
May
12
revised Orphaned connections in CLOSE_WAIT state
Update dead link
May
8
awarded  Good Answer
May
7
comment Hard links to `/`?
total 108 isn't a file. ls without the -a option doesn't include the . and .. hard links.
May
7
answered Hard links to `/`?
May
7
answered Ping: Result shows 56(84) instead of what is expected
May
7
comment Ping: Result shows 56(84) instead of what is expected
You have at least two problems: 1) you need quotes around $PINGFULL, 2) the 5th line of ping -c 1000 doesn't contain the rtt min/avg/max/mdev line -- try tail -1 without the head -n 5.
Apr
24
comment Is it possible to echo into a file, but use indenting in the shell script source?
Try using a heredoc with a minus sign (e.g. cat <<-EOF). See unix.stackexchange.com/questions/76481/… for details.
Apr
21
awarded  Electorate
Apr
17
answered Change only the year on the output of the “date”-command