Top "Stdin" questions

Standard input (stdin, file descriptor 0) is the input stream to a program.

Pass command line arguments as well as input from STDIN for Perl script?

I have a Perl script which takes both command line arguments and STDIN #!/usr/bin/perl -w use strict; use …

perl stdin command-line-arguments argv
linux - write commands from one terminal to another

I need to write commands from one terminal to another terminal. I tried these: echo -e "ls\n" > /proc/…

linux redirect terminal stdin tty
Pipe string to GNU Date for conversion - how to make it read from stdin?

GNU Date lets you convert date strings like so: $ date +"%d %m %Y" -d "yesterday" 04 01 2012 Is it possible to pipe …

linux date pipe stdin
Redirecting AT commands to microcom command under Linux

in the BusyBox command for Linux exists the command microcom to communicate with a serial modem: BusyBox v1.13.2 (2012-05-10 17:13:08 …

linux redirect pipe stdin tty
Warning: fgets() expects parameter 1 to be resource, string given in

I am somewhat new to php, but I do understand some of the key concepts of it, however nothing about …

php api terminal stdin etrade-api
Read all text from stdin to a string

I'm writing a program in Node.js that (in some situations) wants to act as a simple filter: read everything …

node.js stdin synchronous
Reading from text file or stdin

I have a program that basically reads a text file and counts the number of occurrences of each word on …

c++ input stdin ifstream
What's the int macro for stdin?

stdin is of type FILE *, is there a fd macro for it? Or do I need to convert it myself?

c macros stdin
wget or curl from stdin

I'd like to download a web pages while supplying URLs from stdin. Essentially one process continuously produces URLs to stdout/…

unix curl wget stdin xargs
PwnTools recv() on output that expects input directly after

Hi I have a problem that I cannot seem to find any solution for. (Maybe i'm just horrible at phrasing …

python stdout stdin pwntools