Run command only if another command returns zero exit status (well done)

cd tmp/ && tar xvf ~/a.tar
click the source code to copy