Is it possible to run consecutive commands, with those that follow referencing the parameter(s) passed to the very first?
For example, download, untar, and cd:
wget superuser.tar.gz tar -xzf superuser.tar.gz cd ./superuser
wget superuser.tar.gz && tar -xzf $1 && cd $1 // with $1 being superuser.tar.gz
The only way I can think of accomplishing this is to reference it as a variable. Is there another solution?