Categories
Shell script

Redirection in Shell-Unix/linux

Redirection is a function common to most command-line interpreters, including various unix shells that can redirect standard streams to user specified locations. UNIX STANDARD I/O Streams 0- stdin (Standard input) 1- stdout (Standard output) 2- stderr (standard error)       Redirecting standard input and standard output simple redirection to a file:  $command  > file […]