Boston Python Workshop 3/Friday/Linux terminal navigation

From OpenHatch wiki
Jump to navigation Jump to search

There are three commands that we'll be using at a command prompt to navigate the filesystem on your computer:

  • ls
  • pwd
  • cd

ls lists the contents of a directory.
pwd gives the full directory path to your current directory.
cd moves you into a new directory (it stands for "change directory").

Let's practice using these commands.

Open a command prompt:

You can find the Terminal application at Applications/Accessories/Terminal, or it may already be on your menu bar.

If you want to get read, this is how you shloud write.

Success!

You've practiced using ls, pwd, and cd to navigate your computer's filesystem from the command prompt.

« Back to the Friday setup page