Web Server Administration: Pipes
Pipes
$ ls -l /etc | more This takes the output of the ls command and displays it using "more"
$ ls -l /etc > out.txt This takes the output of the ls command and writes it to "out.txt"
$ ls -l /tmp >> out.txt This takes the output of the ls command and appends it to "out.txt"
$ find /etc -print |grep http > out.txt
Find all files in /etc that have http in their names and save the output to out.txt