Advanced Unix Shell Commands


Redirection
It is to send the input or output of a process to a location other than the standard one.
shell> 
     

Pipe
A pipe is a method of inter-process communication (IPC) which allows a one-way flow of information between two processes on the same machine. The character ‘|’ is used to create a pipe between two processes.



/bin/sort
It is a shell command that sorts lines of text files. The command “cat unix.pl | sort” is the same as the command “sort unix.pl” .