90,186 reputation
12104220
bio website
location European Union
age
visits member for 2 years, 2 months
seen 25 mins ago

3h
revised Text files containing their own name
a few improvements. Hope you don't mind. Please tell me if you do.
23h
revised How to log all system calls made by a process and all its descendants with auditd
added 21 characters in body
1d
revised Count nul delimited items in file
added 97 characters in body
2d
revised Add content one file to another
added 318 characters in body
2d
revised How to treat strings with spaces as a whole in bash?
Quoting is to disable the split+glob operator (implicitely invoked on unquoted variables in list contexts). You don't want to invoke that operator here, that wouldn't make sense. Note about the `--rfc...` being GNU.
2d
revised How to sort the filenames shown in grep command based on timestamp?
added 18 characters in body
2d
revised How to sort the filenames shown in grep command based on timestamp?
added 103 characters in body
Oct
27
revised Clear or disable aliases in zsh
typo
Oct
27
revised How can I remove lines matching foo but not matching bar?
POSIXified.
Oct
24
revised Copy stdout and stderr to a log file and leave them on the console within the script itself
edited body
Oct
24
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.