Execute commands one after the other, in order

Execute commands one after the other, in order

This is called command stacking.

To stack commands, use a semicolon (;) between commands, like this:

cd /etc ; ls -l

Be very careful when command stacking, especially when deleting or moving files! Make sure what you typed is what you want!

whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.