Reputation
144,307
Next tag badge:
1008/1000 score
194/200 answers
Badges
21 207 385
Impact
~7.2m people reached

Jan
19
answered List available man page sections for an application
Jan
18
answered How to append string with dash?
Jan
18
answered Backtick command encapsulation
Jan
18
revised command to put hyphen in the second column if the space is given between a word
added 111 characters in body
Jan
18
answered command to put hyphen in the second column if the space is given between a word
Jan
18
comment How to find out if a file on btrfs is copy-on-write?
With filefrag -v, you can check whether two files have data in common.
Jan
18
revised cshell alias: How to use nested single quotes(') in in cshell alias
added 85 characters in body
Jan
18
revised cshell alias: How to use nested single quotes(') in in cshell alias
added 102 characters in body
Jan
18
answered cshell alias: How to use nested single quotes(') in in cshell alias
Jan
18
comment What are the use cases for write-only and write-execute files?
@sourcejedi, good point! Reminded me of tty devices.
Jan
18
revised What are the use cases for write-only and write-execute files?
added 257 characters in body
Jan
18
comment Inline debug (xtrace) in scripts
@Gilles, (re: edit) indeed pdksh and mksh R50 output + 2> /dev/null, but not R46 here for some reason.
Jan
18
revised What are the use cases for write-only and write-execute files?
added 10 characters in body
Jan
18
comment What are the use cases for write-only and write-execute files?
No, -w- would not allow anything on a directory. You'd also need x to do anything with files in there.
Jan
18
answered What are the use cases for write-only and write-execute files?
Jan
18
comment Is the “$?” (dollar-question mark) variable available only in the Bash shell?
Most shells (fish, csh, tcsh, rc, zsh) use $status which is a lot more straightforward/legible IMO. Only Bourne-like shells (among Unix shells) use $? AFAIK.
Jan
18
comment Is the “$?” (dollar-question mark) variable available only in the Bash shell?
Not only POSIX shell, all Bourne-like shells including the Bourne shell (which I believe was the one introducing it, the Mashey shell had it as $r I believe). So that's the sh of virtually all Unix-like systems since Unix V7 in the late 70s, Most other shells (csh, tcsh, fish, rc) have it as $status.
Jan
18
comment Is the “$?” (dollar-question mark) variable available only in the Bash shell?
Related: Default exit code when process is terminated?
Jan
18
revised Use “find” from a specific relative directory
formattings.
Jan
15
answered How do I print all lines of a file with duplicate values in a certain column