Reputation
24,760
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
3 37 88
Newest
 Good Answer
Impact
~2.5m people reached

Jan
10
comment Extracting n characters from a test line
As an Aging Dinosaur, I believe sed is the right choice. However, put the '|' at the end of the echo line, and you don't have to backslash the newline to get the pipeline continued.
Jan
10
revised Why is vim not being opened in its own screen?
Add a note about looking a file change times on terminfo files.
Jan
10
comment Why does “ls” require a separate process for executing?
I was thinking more along the lines of how complicated the source code of the shell itself would be if it had to handle pipes for external processes, and pipe the output of the an internal command like the hypothetical ls into an external process. It could be done, but it would be complicated.
Jan
10
comment Why does “ls” require a separate process for executing?
You missed the ease of piping output if its a seperate command, and all the programming it would take to pipe a shell primitive into a seperate executable.
Jan
10
answered Why is vim not being opened in its own screen?
Jan
10
revised Why is vim not being opened in its own screen?
Note that this answer isn't responsive, but the comments on it are relevant.
Jan
9
awarded  Enlightened
Jan
8
awarded  Nice Answer
Jan
8
answered Why is vim not being opened in its own screen?
Jan
8
comment What could cause the clock to jump by 5 minutes?
Do hwclock -r - that will tell you if the hardware clock is off. It it's off by 5 minutes exactly, I'd suspect that something runs hwclock -s every once in a while, possibly some cron job.
Dec
26
answered How do I make dnsmasq obey the order of servers in resolv.conf
Dec
18
revised The meaning of output of pmap
Correct a bad guess at 0x610000 mapping.
Dec
18
comment The meaning of output of pmap
You know what? I was wrong about the 0x601000 address mapping - that's the heap, probably. You'll have to use readelf or objdump to figure it out, and whatever the executable you've made. My Arch linux box uses /usr/lib/libc-2.18.so, so it's quite different than your box.
Dec
17
answered The meaning of output of pmap
Dec
10
awarded  Nice Answer
Dec
9
awarded  Necromancer
Dec
7
answered Print a message from the left-hand side of a pipe
Dec
4
awarded  Nice Answer
Nov
21
awarded  command-line
Nov
19
comment Check for existence of files prior to acting on them
Be careful: there's an entire class of bugs that can happen if you have time interval between check and use: en.wikipedia.org/wiki/Time_of_check_to_time_of_use These bugs can be particularly hard to ferret out, as the code certainly looks correct.