Skills Test

  1. Most times, you will be working within your home directory. What would that look like at the shell prompt?

    Answer: ~

    Is There Another Name? In Unix, a home directory can also be called $HOME.

  2. When you are working within the shell, it keeps track of the directory you are using. This directory is called the current working directory, or the current directory. To find your current directory, what would you type?

    Answer: pwd

  3. To list the files in the current directory, what would you type?

    Answer: ls

    What About Other Listings? In Unix, you can use options with commands. This is especially true of the ls command.

    With the ls command, you can do ...

Get SAMS Teach Yourself Unix in 10 Minutes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.