89,615 reputation
12103217
bio website
location European Union
age
visits member for 2 years, 2 months
seen 4 hours ago

1d
revised Copy stdout and stderr to a log file and leave them on the console within the script itself
edited body
1d
revised Is >&- more efficient than >/dev/null?
added 25 characters in body
Oct
21
revised What does '>/dev/null 2>&1' mean in this article of crontab basics?
added 11 characters in body
Oct
19
revised When was the shellshock (CVE-2014-6271/7169) bug introduced, and what is the patch that fully fixes it?
deleted 82 characters in body
Oct
15
revised sed lines after match and before next match
added 252 characters in body
Oct
15
revised sed lines after match and before next match
added 24 characters in body
Oct
15
revised (SOLVED) How I get the current working directory with inverted slash?
fixed attribution, remove usage of the split+glob operator which is not needed here (and potentially harmful). Remove usage of echo.
Oct
14
revised Remove all files created before a certain date
added 185 characters in body
Oct
13
revised How can I delete all lines in a file using vi?
edited body
Oct
13
revised Why doesn't 'sudo bash && cd desktop' cd in to the desktop folder?
No need to run bash to interpret that simple command line. && to avoid running bash if you can't cd in the directory. exec as some sh implementations (including bash) don't save a process here and we don't need the sh to keep running here. No reason to use weak quotes here.
Oct
12
revised When does the empty string denote the current directory?
better use the glob qualifier where available rather than change the behaviour of the shell globally.
Oct
12
revised Representing/quoting NUL on the command line
deleted 1 character in body
Oct
11
revised Representing/quoting NUL on the command line
added 516 characters in body
Oct
11
revised Representing/quoting NUL on the command line
added 24 characters in body
Oct
10
revised When was the shellshock (CVE-2014-6271/7169) bug introduced, and what is the patch that fully fixes it?
added 947 characters in body
Oct
9
revised How do I delete all of a set of files in a random order?
added 134 characters in body
Oct
8
revised How do I delete all of a set of files in a random order?
added 209 characters in body
Oct
8
revised How do I delete all of a set of files in a random order?
added 115 characters in body
Oct
6
revised How to escape single quotes correctly creating an alias
added 138 characters in body
Oct
4
revised When was the shellshock (CVE-2014-6271/7169) bug introduced, and what is the patch that fully fixes it?
added 9 characters in body