Reputation
15,757
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
17 47
Newest
 Nice Answer
Impact
~1.1m people reached

Nov
17
comment why would you tar a zip file
because people do all sorts of strange things. and it's not illegal (or even immoral) to put a .zip inside a tar file.
Nov
17
comment Colorize filenames based on status for git diff --name-status
1. if it doesn't produce diff-like output then colordiff won't colourise it. 2. good for you, your sense of aggressive entitlement is palpable. you deserve only perfect answers (even when you don't provide sample output), and you're absolutely right to be offended when you don't get them.
Nov
17
comment Building a custom development environment
you can always rebuild the lib, -dev, -dbg packages with whatever compile-time options you choose. as a general rule, it is almost always better to rebuild a package than to compile something into /usr/local or your home dir.
Nov
17
awarded  Enlightened
Nov
17
answered bash command: replace “A” to “B” file with long and all symbol letter..?
Nov
17
comment Colorize filenames based on status for git diff --name-status
nope, absolutely no idea. However, if it produces diff-like output (in any of the common diff formats) then colordiff can colourise it.
Nov
17
comment Colorize filenames based on status for git diff --name-status
i dont have acces right now to take a screenshot. you'll just have to take my word for it that colordiff does, in fact, do exactly what its name says it does. i suggest you read the man page. and maybe check that your $TERM definition is correct.
Nov
17
comment Colorize filenames based on status for git diff --name-status
Did you install colordiff first? what, exactly, do you mean by "simply doesn't work"?
Nov
17
comment systemctl: Failed to execute operation: No such file or directory
dkms isn't a service. At least it isn't on debian. Installing linux-image-*, linux-headers-*, and *-dkms packages trigger dkms updates via their .postinst scripts on debian.
Nov
17
comment Using awk and grep for iftop results
I know it's correct. I test things before I post an answer. It answered the OP's question as he asked it. Your answer answered the questions he didn't but should have asked - 'is this a good method?' and 'is there a better way?' IMO these are often far more valuable answers.
Nov
17
comment Using awk and grep for iftop results
+1. I agree with everything you said.
Nov
17
comment Does anyone know a good pastebin where I can easily pickup the code with curl?
pastebin.com has a download link on each page. It also has a raw data field which you can highlight and 'Select All' and then 'Copy'. Then paste into a text editor on your domU. Neither of these features even requires javascript to work, which is nice.
Nov
17
answered Using awk and grep for iftop results
Nov
17
awarded  Nice Answer
Nov
17
comment How to extract data from a JSON file
check wheezy-backports. it might be in there, saving you an upgrade to jessie (unless you were planning to upgrade anyway). aha! it IS backported to wheezy. packages.debian.org/wheezy-backports/jq
Nov
17
comment Why is the directory /lost+found 16K instead of 4K bytes?
unless you have a particular use for this information (e.g. you're a fs driver hacker or kernel hacker), i'd just file it away in the "vaguely interesting things that don't matter" basket.
Nov
17
comment Why is the directory /lost+found 16K instead of 4K bytes?
hundreds or thousands of small files. dir size is related to number of entries (files) in it, not to the files' sizes. can't see why you'd want to do that, though.
Nov
17
comment Editing my /etc/hosts.deny
Well, you could do that but i didn't say it. I'd just use fail2ban to drop packets from annoying client IPs...I don't see any reason to accept and process packets from source IPs that have proven themselves to be a nuisance.
Nov
17
answered Busybox pager with color capability?
Nov
17
comment Why is the directory /lost+found 16K instead of 4K bytes?
It's simpler for fsck to just create a lost+found directory with more reserved space for found files than to expand it if/when needed. With some types of fs corruption, it may not even be possible or safe to expand the lost+found dir while fsck is fixing errors.