//View Tip #5
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
Use && to run a second command if and only if a first command succeeds:
cd tmp/a/b/c && tar xvf ~/archive.tar


sudo apt-get update && sudo apt-get upgrade