3,058 reputation
1529
bio website None
location United States
age 53
visits member for 5 years
seen Jul 21 at 6:51
Long-time Informix user and developer, experienced in C and Unix (many variants). Email: jonathan.leffler@gmail.com

Jul
21
awarded  Yearling
Jul
2
awarded  Curious
Jun
10
revised Using sed get substring between two double quotes
Add note on why original command didn't work as intended.
May
2
awarded  Constituent
Apr
21
awarded  Caucus
Feb
21
awarded  Enlightened
Feb
21
awarded  Nice Answer
Feb
11
awarded  Nice Answer
Jan
21
awarded  Excavator
Jan
21
revised What prevents rm /dev/null?
Fix trivial typos
Oct
24
comment confused about file owner in linux
Root is unfettered by such trivial details as 'does the user belong to the group'. At the o/s level, there is no such enforcement.
Oct
24
comment confused about file owner in linux
That's normally, but not necessarily, the case. It might be that the directory sets the group permission (SGID bit), while the user has write permission to the directory (perhaps public write permission, perish the thought, unless the directory has the sticky bit set; or perhaps because of ACLs). But in the normal case, a file is created belonging to the effective GID of the process that creates the file.
Oct
13
comment How to recover file from 'hidden' directory with Time Machine?
Thanks again for this answer — I needed to restore a .git directory and needed to use this again.
Sep
10
awarded  Cleanup
Sep
10
revised Running multiple operating systems on one laptop
rolled back to a previous revision
Jul
26
awarded  Notable Question
Jul
21
awarded  Yearling
Jun
18
comment How can I make `find` find files in reverse chronological order?
You can't make find do anything in a particular sorted order, beyond choosing between a depth-first search and a breadth-first search.
Jun
7
comment UNIX: Merging files with different extensions to one file
I could see it listing the message file before the XML file for each pair, but I really don't see how cat * could list all the XML files before all the message files. Can you elaborate on that? (Also, your cat command has no pipes whatsoever; it only uses I/O redirection.)
Jun
7
comment UNIX: Merging files with different extensions to one file
There's no reason why a shell programming question cannot be asked on SO.