Reputation
22,207
Next tag badge:
332/400 score
95/80 answers
Badges
2 28 79
Newest
 Yearling
Impact
~1.9m people reached

  • 0 posts edited
  • 6 helpful flags
  • 2,036 votes cast
Jan
11
comment Linux: How does hard-linking to a directory work?
you ask good questions, I just don't know the answer. You might be able to use NetBSD or OpenBSD to find out. Those two are the closest to old SunOS 4.1.x that still run on modern hardware. My last SunOS4.1.4 machine went to recycling years ago, or I'd give it a try.
Jan
11
comment Linux: How does hard-linking to a directory work?
I know I've run into hard-linked directories in the distant past - I still have the mental scars from trying to figure out what cd .. put my program some weird directory. I think SunOS 4.1.x allowed this, and possibly Solaris 2.2. System Vr3 might have allowed it.
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