Command Lists by DaveChild

About This Content

This content, Command Lists, was created on 22nd November, 2011 and was last updated on 15th April, 2014.

Tags

bash, commandline, linux

Command Lists appears on:

Command Lists

cmd1 ; cmd2
Run cmd1 then cmd2
cmd1 && cmd2
Run cmd2 if cmd1 is successful
cmd1 || cmd2
Run cmd2 if cmd1 is not successful
cmd &
Run cmd in a subshell