Reputation
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
15 26
Newest
 Nice Answer
Impact
~396k people reached

Sep
27
comment Why `rename` behaves differently whenever I use full path instead current path?
+1 good use of the diagnostic -n switch
Sep
27
revised Why `rename` behaves differently whenever I use full path instead current path?
added 81 characters in body
Sep
27
answered Why `rename` behaves differently whenever I use full path instead current path?
Sep
27
comment How does my partition (ext4) know its size of used/free space?
+1 You're right, the superblock is important, so much so that a copy is almost always kept in memory such that df doesn't even have to go to disk to get the allocation totals.
Sep
26
comment “Out of Memory” error while copying large files with pcmanfm
But neither setting (5 or 60) will make the slightest bit of difference to a system that is out of memory. Indeed fiddling with the swapiness setting is much like the proverbial "rearranging the deck chairs on the Titanic": it gives the appearance of doing something but the ship is still going to sink.
Sep
26
comment “Out of Memory” error while copying large files with pcmanfm
So is the question "how to make pcmanfm to use swap more readily?" or "why am I getting OOM under pcmanfm"? The answer to the first has been given but, as others have noted, that answer does nothing to fix the bug causing the OOM. A very quick look around the pcmanfm's source in libfm seems to show that the program may try to copy the file contents into its internal clipboard which is obviously not the way to do it.
Sep
25
comment input output redirection in bash
That documented preference puzzles me too. When csh introduced the >& syntax it had to be in that order because the parser wasn't as complicated and ls &> junk.dat was semantically equivalent to ls & ; cat /dev/null > junk.dat. For the benefit of a reader of a script, I'd still use >& to lessen the ambiguity, but I'm pretty old skool.
Sep
25
comment How to gain root privileges for specific user if we have root password?
Your question tells us half the solution that you've invented but doesn't tell us what problem you are trying to solve. There is probably a much better way to achieve your goal, but creating time-limited root accounts on the fly is not the way.
Sep
25
comment How can I secure my Ubuntu 13.04 to prevent network attacks?
@Francisco I understand your concern, but I don't know that the question can be framed in a way that doesn't resort to opinion. If I were to ask you "I am going on holiday in London, should I bring an umbrella?" no quantity of facts will provide a definite answer. Since we're now getting into philosophical confirmation theory I'll leave you my practical advice: if you are concerned that your machine will be hacked, assume that it will be and reload it upon your return.
Sep
24
comment Setting IFS for a single statement
You could jam it onto one line with semi-colons, but I don't think that's cleaner. It might be nice if everything you wanted to express had special syntactic support, but then we'd probably have to learn carpentry or sumptin instead of coding ;)
Sep
24
answered Setting IFS for a single statement
Sep
24
comment fstab mount drive as my /home
The output of ls -ld /home /home/peter once mounted would help clarify this question.
Sep
24
answered Unable to set hostname for use within network
Sep
23
comment Time all executions in bash
Not very well superuser.com/questions/175799/…. Perhaps zsh…
Sep
23
awarded  Necromancer
Sep
22
revised Directory appears as file?
hoisted answer into body
Sep
22
comment How can I secure my Ubuntu 13.04 to prevent network attacks?
Given that I have high regard for @slm and yet we've come to diametrically opposite conclusions would seem to support the bit that answers are "almost entirely based on opinions".
Sep
21
awarded  Revival
Sep
21
comment ssh will sporadically hang temporarily on fast connection
@kikumbob please see "added" above
Sep
21
revised ssh will sporadically hang temporarily on fast connection
added added