Reputation
21,724
Next tag badge:
97/100 score
27/20 answers
Badges
2 26 76
Newest
 Nice Answer
Impact
~1.7m people reached

  • 0 posts edited
  • 6 helpful flags
  • 1,997 votes cast
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.
May
7
answered How does the server find out what client port to send to?
May
7
answered Is it common to split larger script into multiple scripts and source them in the main script?
May
6
answered `du` get different results on different machines for the same folder
May
6
answered Reading from a serial interface
May
5
comment Why is dnsmasq putting my router IP in /etc/resolv.conf instead of 127.0.0.1?
On which machine, 'A' or 'B', does dnsmasq run? Does dnsmasq do DHCP as well as DNS? What is the value of the "resolv-file" parameter in dnsmasq.conf?
May
4
comment Why is my download speed a lot lower in Linux than other OS?
Check the arithmetic - I've seen Windows FTP clients that were off by a factor of 10 when they stated download speeds, elapsed time and bytes.
May
3
comment Who cuts off first symbol of process substituted file and for what reason?
Same behavior for RHEL 5.0, bash 3.2.25, php 5.4.6. I can add that the problem also happens for named pipes. Do this: mknod named_pipe p; echo 123 > named_pipe; # go to another window; php named_pipe; It will show you "23".
May
3
comment Who cuts off first symbol of process substituted file and for what reason?
For what it's worth, I get the same behavior on a Slackware 11 box, bash 3.1.17, PHP 5.3.6. You might want to try "echo" instead of "cat" or "php" in your script to see what the "<(...)" construct gives you.