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

Oct
25
answered shell script with interesting bug
Oct
25
answered Packet forwarding under Linux shakey compared to Windows, why?
Oct
21
revised Deleting an empty file, why there are so many sys calls ?
Fix up some hosed hyperlinks, and change teh to the.
Oct
21
comment Deleting an empty file, why there are so many sys calls ?
I believe, but will change my opinion if facts warrant, that the idea is every program uses a whole lot of common code. If it's already in memory, the kernel can just map that code (libc for example) into a new process, rather than reading it from disk, and using yet another page of RAM. There's also desirable side effects, like updating /usr/lib/libc.so and magically, every program has a security patch (or whatever). I don't know how much the side effects played into making everything dynamically linked.
Oct
21
answered Deleting an empty file, why there are so many sys calls ?
Oct
21
comment Using telnet to get website header
If you don't have telnet, you can get the same sort of thing using nc or netcat (distros vary in what they call it, and there's an original and GNU version in use).
Oct
21
answered Unable to receive ARP requests. Think it's a buggy driver. How to fix?
Oct
19
awarded  Good Answer
Oct
14
awarded  Famous Question
Oct
12
answered How to create a script to run mysql commands
Oct
9
comment What is the background of the program segmentation?
I think you're missing a possibility or two. The division between code (text) and data/heap could come about because of hardware. Some PDP-11s had a separate address spaces for code and data. Honeywell computers that ran Multics had memory mapping hardware, so programs could compose themselves from many "segments". I recall that IBM-360s didn't really have a stack, that the compiler, not hardware, did stack frames, via software.
Oct
9
answered Connect to WPA2 encrypted WIFI using wpa_supplicant without GUI in Linux
Oct
7
comment Why only driver is not enough, but the firmware is also required?
See these questions: unix.stackexchange.com/questions/90727/… unix.stackexchange.com/questions/202517/…
Oct
7
answered Exiting out of a script that restarts application
Oct
5
comment Exactly what does rpcbind do?
@SivaDotRender - I'm not 100% certain, but I believe when client code calls clnt_create() to get a handle for the protocol and host. It will probably be done via UDP, unless you set up the whole thing to use TCP.
Oct
5
comment How to sum up values of each two rows across their line in linux
@zara - if it were me, I'd write a small C program that could take a series of 45,000 digit strings and add them numerically. Then, I'd put that code in the middle of a while-loop that implemented what my awk code above did, which is to keep track of the "tag" number in the first column, and print out an answer when the tag changes, and at the end of file.
Oct
5
comment How to sum up values of each two rows across their line in linux
@zara - my guess is that 45,000 digits overflows awk's arithmetic, but I don't know for certain. I even assume 16 digits in the "printf" output so it preserves leading zeros. It would be worth noting in your question what the exact input is, as I assumed your example was representative.
Oct
5
answered Exactly what does rpcbind do?
Oct
5
answered How to sum up values of each two rows across their line in linux
Oct
5
comment Sum of filesize of a list of files
@Scott - legitimate criticisms. Thanks for thinking about it, and writing them down.