Top "Stdin" questions

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

Why do I get the "Unhandled exception type IOException"?

I have the following simple code: import java.io.*; class IO { public static void main(String[] args) { BufferedReader stdIn = new …

java stdin readline ioexception
How to read from stdin line by line in Node

I'm looking to process a text file with node using a command line call like: node app.js < input.…

node.js stdin
Send string to stdin

Is there a way to effectively do this in bash: /my/bash/script < echo 'This string will be sent …

bash redirect stdin io-redirection
Reading from stdin

What are the possible ways for reading user input using read() system call in Unix. How can we read from …

c unix stdin
Programmatically read from STDIN or input file in Perl

What is the slickest way to programatically read from stdin or an input file (if provided) in Perl?

perl stdin
sys.stdin.readline() reads without prompt, returning 'nothing in between'

I have a function that executes the following (among other things): userinput = stdin.readline() betAmount = int(userinput) Is supposed to …

python python-3.x stdin
Read from file or stdin

I am writing a utility which accepts either a filename, or reads from stdin. I would like to know the …

c file io stream stdin
Compress files while reading data from STDIN

Is it possible to compress (create a compressed archive) data while reading from stdin on Linux?

linux stdin compression
How do I write to a Python subprocess' stdin?

I'm trying to write a Python script that starts a subprocess, and writes to the subprocess stdin. I'd also like …

python subprocess stdin nuke
nodejs how to read keystrokes from stdin

Is it possible to listen for incoming keystrokes in a running nodejs script? If I use process.openStdin() and listen …

input node.js stdin