Reputation
225
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 7
Newest
 Informed
Impact
~14k people reached

Nov
5
revised How to go to remote directory in Cygwin?
update link anchor to specific section
Nov
5
suggested approved edit on How to go to remote directory in Cygwin?
Sep
24
answered Is there a way to show windows processes in Cygwin constantly
Apr
8
revised How to disable the skype ads (advertisement)?
apps.skype.com for newer skype versions
Apr
2
awarded  Informed
Apr
2
comment How to use locate to search for folders only
Unix systems are multi-user and /tmp is world-writable (and even on single user systems, you or a network service can be tricked into creating files named like that). Embedding that {} like that is a bug easily upgradable to a security vulnerability. IMO, on public Q&A websites, we should at least point out the limitations. Feel free to include that code in your answer. I'm generally not contributing to Super User, I just got there from a link on Unix & Linux.
Apr
2
comment How to use locate to search for folders only
Note that [ -d also returns true for symlinks to directories. Not necessarily bad, just worth noting as it's different for instance from find -type d.
Apr
2
comment How to use locate to search for folders only
The proper way is with something like locate --null something | xargs -r0 sh -c 'for i do [ -d "$i" ] && printf "%s\n" "$i"; done' sh {} +. {} should never be embedded in the shell code, that's as bad as using eval with arbitrary data (hence the downvote).
Apr
1
comment How to use locate to search for folders only
See also that similar question on unix.stackexchange.com
Apr
1
comment How to use locate to search for folders only
That command just rebooted my machine (I had a /tmp/something$(reboot) file).
Jan
28
comment GHOST glibc vulnerability (CVE-2015-0235): is it required restart a server after glibc upgrade?
lsof | awk '/DEL.*libc/{print $1}' | sort -u to match only on those that link to the now deleted (after the update) libc.
Nov
29
awarded  Yearling
Aug
22
awarded  Commentator
Aug
22
comment Does the “Massive Growth in SMTP STARTTLS Deployment” decrease SPAM filtering efficiency?
Nothing Unix/Linux specific about this. security.SE would be more appropriate.
Aug
22
comment Does the “Massive Growth in SMTP STARTTLS Deployment” decrease SPAM filtering efficiency?
Some firewalls/UTMs with deep packet inspection filter spam on the fly before it reaches the mail server.
Aug
19
awarded  Excavator
Aug
19
revised What is the reason for rmdir(1) and rm(1) to co-exist?
Added link to V7 rmdir
Aug
19
suggested approved edit on What is the reason for rmdir(1) and rm(1) to co-exist?
Aug
17
answered What is the resolution of a scanned pdf file?
Aug
15
comment Fake windows update
Isn't it what Flame did?