Reputation
19,895
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 24 67
Impact
~1.5m people reached

  • 0 posts edited
  • 3 helpful flags
  • 1,851 votes cast
May
30
comment Why does exec file generate 4 processes in Linux?
It's possible that GCC compiling for Windows does multi-threading where compiling for native linux execution does fork/exec. Or maybe I misunderstand where the two executables run.
May
29
answered Why not use pathless shebangs?
May
18
comment Create custom wordlist
Thank you for pointing out the non-standard flags. As something of a dinosaur, I feel more familiar with them.
May
18
answered Create custom wordlist
May
17
comment Can sed remove 'double' newline characters?
@ChrisDown - are you certain? I tried it on just such a file, and it seemed to work with (GNU sed) 4.2.2.
May
16
awarded  Mortarboard
May
16
awarded  Nice Answer
May
16
answered Perform floating point arithmetic in shell script variable definitions
May
16
answered Can sed remove 'double' newline characters?
May
16
comment Modify ulimit (open files) of a specific process
@test - I've never raised the hard limit. Found this: blog.samat.org/2011/04/05/… and this wiki.brekeke.com/wiki/Increase-File-Descriptor-Limit-on-Linux They say the same thing.
May
15
answered Modify ulimit (open files) of a specific process
May
15
comment Fork vs. thread system time
Maybe, maybe not. Does the system actually context switch to the child processes? That's not guaranteed: stackoverflow.com/questions/6696959/…
May
15
answered Executing commands with PHP: using normal user, but its home directory is /root
May
15
answered Where is the environment string actual stored?
May
10
comment What is user address space and what is it's purpose?
@psusi - thanks. Is my face red! I've corrected that, and added a link to a BSS explanation.
May
10
revised What is user address space and what is it's purpose?
added 49 characters in body
May
9
answered What is user address space and what is it's purpose?
May
8
answered Detecting images containing only black pixels
May
7
comment How does the server find out what client port to send to?
@SubiSuresh - I believe you wrote the truth.
May
7
comment How does the server find out what client port to send to?
System call getpeername() should let you do that on any open socket. The accept() system call that the server code has to use to get a socket file descriptor to communicate back to the client has a parameter ("sockaddr" in my man pages) that contains the prospective client's IP address and TCP port number.