IO - Standard Input (stdin)

Card Puncher Data Processing

About

Standard Input is a standard stream that reads:

  • from the keyboard
  • or from a redirection such as the pipe.

How to print the file name of the terminal connected to standard input.

On Linux, you use the tty command.

tty





Discover More
Process Explorer Handle Open File Search
File System - File Descriptor or Handle (Open File)

A file descriptor (Unix, Linux) or a file handle (Windows) is the connection id (generally to a file) from the Operating system in order to perform IO operations (Input/Ouput of Bytes). For Wikipedia,...
Card Puncher Data Processing
IO - Standard streams (stdin, stdout, stderr)

Standard Streams are the mechanism by which a process: receive data (stdin) and output data (stdout, stderr). In a shell, by default, they will: read input from the keyboard and write output...
Map Of Internet 1973
Network - netcat (nc, ncat)

netcat is a net client/server command line tool for TCP or UDP protocol. It can: reads and writes data across network connections acts as a client but also as a server You can see it as the equivalent...
Card Puncher Data Processing
Shell Data Processing - Standard Input Stream (Stdin)

in a shell cat will start a standard input session You can redirect it to a file. If your command needs plain input without terminal emulation you can use input redirection with a pipe like:...
Netstat Tcp Listening Socket
TCP - Connection

This article is a connection within the TCP protocol. A TCP server may serve several clients concurrently with the same local socket address (ie local IP address and port number) by creating a child...



Share this page:
Follow us:
Task Runner