3,413 reputation
1715
bio website
location
age
visits member for 3 years, 8 months
seen yesterday

Apr
25
comment df says I have 20G more disk space used than du. Why?
@Shadur I have no idea what I was thinking when I wrote that. Maybe I thought the mount point directory on the root filesystem would be counted somehow.
Apr
4
awarded  Yearling
Mar
21
awarded  Enlightened
Mar
21
awarded  Nice Answer
Jan
29
awarded  Nice Answer
Nov
26
comment What's a good example of piping commands together?
"""NB: I would love to know a way to do steps 2 and 3 in a single grep call.""" Instead of "aux" use "-o pid,comm" - this is also more portable since it is POSIX-compliant. That way the grep process will just show up as "grep" instead of "grep conky" so it won't match itself.
Nov
25
comment Is it possbile to mount Windows filesystems without using the root account?
What linux distro are you on? Does the sudo command exist?
Nov
25
comment Is it possbile to mount Windows filesystems without using the root account?
@symcbean It's possible that he has a linux distribution that doesn't allow direct login with root but requires sudo.
Nov
20
comment Unix 'calendar' program upgraded to work with multiple years?
How about Dec 31 - revise .calendar file for next year? Alternately, you could do something like calendar -f .calendar-`date +%Y` in your profile
Nov
20
comment Linux VT Emacs in tmux, breaks color and cursor
Your *Faces* display doesn't have the one that's different visible. Is there any way to show the actual definition of the configured color instead of the sample text? Also, how do you configure the cursor?
Nov
19
awarded  Enlightened
Nov
19
awarded  Nice Answer
Nov
8
comment how does ping zero works?
Isn't it technically treating it as 0.0.0.0 and then subsequently special-casing 0.0.0.0 to mean "the primary IP of the interface"? What happens if you ping 0.0.0.0?
Nov
5
comment Why does no one use the true Bourne shell as /bin/sh?
Why isn't the legacy Bourne shell POSIX-compliant? Or, rather, why did the POSIX committee choose to require features it didn't have?
Oct
21
comment what does `adduser --disabled-login` do?
For the record, the extra commas separate the fields within the "gecos" field: full name, room number, work phone, home phone. I don't know why they would be present in one version and not the other though. You can find documentation on this in the manpage of the chfn tool.
Sep
11
comment What's the most resource efficient way to count how many files are in a directory?
Historically, ls -f has been the reliable way to prevent calling stat - this is often simply described today as "output is not sorted" (which it also causes), and does include . and ... -A and -U are not standard options.
Sep
3
comment Top “id” is using 50-99% of CPU
On what basis do you think it is running with 100% cpu? As Frederik Deweerdt said, %id is "idle" (and therefore when it is 99% your cpu usage is 1%). Are you adding up the percentages and assuming that adding up to 100 means you're at 100%?
Aug
19
comment Quickest way to change dir from /xxxxx/foo/yyyyyy to /xxxxx/bar/yyyyyy
Heh, cd `zsh -ci 'cd foo bar'` -- I am very amused by this for some reason.
May
2
comment How to find out UUID of a non-block USB device?
@krokoziabla yes I believe they are assigned by virtualbox. My iPod gets a different UUID every time.
May
2
comment Is there a postexec/predisplay hook for ZSH?
zsh cannot tell if there is going to be output because in order to do so it would have to give the command a pipe instead of the tty which would interfere with interactive programs.