Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
Optional exercise #1
Optional exercise #1

Use variables to store where you are, move away, and then back. Try this and see if you can figure out what the shell is doing for you:

Code Block
titlePractice some linux basics
pwd
here=`pwd`
cd /scratch/01057
pwd
cd $here
pwd
Expand
Optional exercise #1#2 and more things to try
Optional exercise #1#2 and more things to try
Wiki Markup
Learn about these few advanced tricks (by trying, {man} pages, Google...)
{code:title=Advanced tricks}
pushd / popd
cd -
which <command>
{code}

If you've done all those too, you might consider looking over [some advanced command-line tool usage|https://wikis.utexas.edu/display/bioiteam/Scott%27s+list+of+linux+one-liners]

...