Additional command operators

ps | grep ssh — only display lines that contain ssh

; used to “stack commands” or issue multiple commands on 1 line. cd ..; ls

& puts a command in the background. Will let you know when the command is finished

> write what is displayed on the screen from a given command to a text file ls -alh /root > /root/myRoot.txt

>>

appends screen output to an existing file

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.