A form of redirection used in shell scripts. The > operator cause output to be redirected from stdout to the specified location

For Example:
ps > /tmp/processlist.txt
This will run the ps command but instead of displaying the output on the screen will save it to the file /tmp/processlist.txt. Note that if you redirect to an existing file it will overwrite that file. To append to an existing file try using the >> operator instead.

Log in or register to write something here or to contact authors.