Tagged Questions
8
votes
1answer
116 views
Output of command not in stderr nor stdout
I've stumbled on this issue, so I'm wondering how is this possible?
Standard run of command:
# zabbix_sender -c zabbix_agentd.conf -k mmysql.QCInserts -o 14
info from server: "Processed 0 Failed 1 ...
3
votes
2answers
69 views
Read data from a pipe for a certain amount of time (in seconds)
Is there an easy way to create a pipe that only lasts for a given amount of wall time?
I want to be able to take a "snapshot" of what's being written STDOUT for a period of time (rather than bytes or ...
5
votes
1answer
33 views
IO and other shell commands when a program is not started by a terminal
I have several launchers on my desktop for various programs, and there is a "run in a terminal" setting for those launchers.
When I check that setting, the program runs from a terminal, and logs its ...
7
votes
2answers
163 views
How a piped shell programs balance their output/input rates? [duplicate]
Possible Duplicate:
Bash while loop and reading from pipe
I come from web programming background, and find myself interested in one peculiarity of using a local shell. I understand that ...
2
votes
2answers
308 views
Can I read and write to the same file in Linux without overwriting it? [duplicate]
Possible Duplicate:
How can I make iconv replace the input file with the converted output?
I frequently connect to amazon ec2 using their public DNS names ...
5
votes
2answers
2k views
what is meant by connecting STDOUT and STDIN?
This is a newbie question. I'm reading a book, it says:
Every process has at least three communication channels available to it: “standard
input” (STDIN), “standard output” (STDOUT), and ...
8
votes
3answers
227 views
Is there a way to execute a native binary from a pipe?
echo 'main(){}' | gcc -xc - -o /dev/stdout | ???
Is there a way to run the output binary on a unix-like system?
EDIT: I needed it to run the output of g++ in a sandboxed environment where I can't ...