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

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?
Mar
5
comment Ruby commands are turning off tty echo
@PaulRoub, possibly something starts an editor with the output discarded. dtruss -f may be able to tell you what commands it runs, and/or what does the ioctl that disables echo (run dtruss stty -echo to get the ioctl number).
Mar
5
answered Ruby commands are turning off tty echo
Feb
7
comment How can I mount a disk image?
You don't need the -o loop above, /dev/mapper/loop0p1 is already a block device (a mapper device on top of a loop device, you don't want another layer of loop device on top of that).