Slide 2.10: Built-in Unix shell commands
Slide 3.1: Programming Exercise I: an on-line music store using files
Home

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” .