Reputation
118,880
Next tag badge:
98/100 score
37/20 answers
Badges
19 150 297
Newest
 Nice Answer
Impact
~4.8m people reached

1h
revised Using bash variables in perl command in bash script
added 516 characters in body
1h
comment Using bash variables in perl command in bash script
Yes, there's also the problem of the quotes, you'd need "$ENV{\"VAR\"}" though "$ENV{VAR}" would be enough, see my answer.
1h
answered Using bash variables in perl command in bash script
11h
revised Get last set of non-empty lines
4 years later, hijack this answer to give the canonical and more correct answer as suggested by Gilles in comments.
11h
comment How to save network traffic to file
Do you want to stop the capture or bring the interface down after those 60mb? Is that 1048576 * 60 bits of the ethernet frames on the wire?
11h
answered How to sort file by character occurrences per line?
11h
comment Set, backup and restore colors in the terminal
Related: Echo/Printing text in the color of a given hex code (regardless of Xresources/Xdefaults)
12h
revised Set, backup and restore colors in the terminal
deleted 3 characters in body
12h
answered Set, backup and restore colors in the terminal
23h
revised Check number of words in a file that contain a specific letter
Note about -o not being a standard grep option.
23h
revised Check number of words in a file that contain a specific letter
removed UUOC, POSIXified
1d
comment Get Name of Computer Cross-platform?
What (less than 20 year-old) Unix-like system doesn't support it?
1d
revised How do I convert an epoch timestamp to a human readable format on the cli?
added 337 characters in body
1d
answered How do I convert an epoch timestamp to a human readable format on the cli?
1d
revised How do I convert an epoch timestamp to a human readable format on the cli?
added 32 characters in body
1d
comment Remove the ^L (aka \f/FF/form-feed/page-break) character
@mikeserv I suppose that means it will be in the next revision. Probably TC2, if that's what the "tags" field means. sed -E (since that's a new feature) will have to wait for issue 8. Also, I'm not sure what Interpretation Required as the status means.
1d
revised Can I configure my shell to print STDERR and STDOUT in different colors?
edited body
1d
revised The result of ls * , ls ** and ls ***
added 29 characters in body
1d
comment What does the double star/asterisk wildcard expand to?
See The result of ls * , ls ** and ls ***. That's a 25 year-old zsh feature which bash copied a tiny subset of a few years ago.
1d
comment Force pubkey-auth user to set password at first login
@Flavius, what system? That order works for me on Debian with version 4.2 of shadow utilities