Reputation
359
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 8
Impact
~7k people reached

Apr
25
comment Is an ISO image file a filesystem in its own right?
@rexkogitans of course if it doesn't contain an ISO file system then it shouldn't be a .iso file
Apr
17
comment How do I securely extract an untrusted tar file?
@Joshua so your solution to make a very widely-tested utility more secure was to make your own version and give it root privileges?
Apr
11
comment Meaning of `10#N`
Who do we poke to fix the syntax highlighter?
Apr
7
comment Why does the grep command ignore the period in the search string?
@marcelm He means fgrep could be faster than grep. Neither the question nor this answer ever mention grep -F.
Mar
4
comment automatically redirect output to /dev/null
@Wildcard it has been edited since I made the comment.
Jan
18
comment Is the “$?” (dollar-question mark) variable available only in the Bash shell?
And many scripting languages: Perl, Ruby, etc.
Dec
22
comment automatically redirect output to /dev/null
I'm struggling to understand the question.
Dec
7
comment Copy specific file type keeping the folder structure
'{}' works just as well
Oct
20
comment Why do I have to use sudo for almost everything?
Do you not spend most of your time using the software you have installed? That shouldn't involve sudo. If not, why are you installing it?
Sep
14
comment Why does iptables accept packets on a given port, when it is closed?
Well it is a risk. Because it's not dropping it like packets on other ports, an attacker can deduce that there may be something listening there in future, and continue periodically checking whether there is yet. If all other ports are blocked, then checking this one reveals that you exist at all.
Jul
7
comment What is so special about Linux permission 004?
The third step is writing, not reading.
Jun
18
comment Do I need a computer science degree to have a successful career in Linux?
Computer Science is almost completely irrelevant to being a Linux sysadmin.
Mar
30
comment Is using “while true” to keep a script alive a good idea?
But then what if the bash script crashes or is killed?
Jan
3
comment How to trigger a system self destruct with a certain password is entered
If it's the NSA you're worried about then dd if=/dev/urandom of=/dev/$HOME isn't going to do much good. Even assuming they're stupid enough to use the operating system instead of removing the disk and reading it directly, there are forensic recovery companies that can get data from a disk that's been overwritten and physically burned.
Jul
17
comment Optimizing a `while` loop
This loop does not consume memory.
Apr
11
comment Triple compression and I only save 1% in space?
Every time I've used xs it's given a lot better compression, but a lot slower to compress. For example 50% to 25% but 20 seconds to 4 minutes (on text).
Oct
8
comment What happens when you delete a hard link?
The key is that creating the text file also adds a hard link. In *NIX filesystems, all files (inodes) must be hardlinked at least once into the directory structure.
Oct
8
comment What happens when you delete a hard link?
@cjm Opening a file adds a new hardlink in /proc. The same logic then appiles.
Sep
19
comment Why can rm remove read-only files?
@Magnus then don't use rm -f, yes | rm or rm <yes
Aug
14
comment How can I get a static C compiler?
@Gilles The best way to get a C compiler as a standalone binary is to build it from source using a complier you already have.