Page 27 - Programming the Raspberry Pi Getting Started with Python
P. 27
Figure 2-4 The LXTerminal command line
Navigating with the Terminal
You will find yourself using three commands a lot when you are using the command line. The first
command is pwd, which is short for print working directory and shows you which directory you are
currently in. Therefore, after the $ sign in the terminal window, type pwd and press RETURN, as shown
in Figure 2-5.
Figure 2-5 The pwd command
As you can see, we are currently in /home/pi. Rather than provide a screen shot for everything we
are going to type into the terminal, I will use the convention that anything I want you to type will be
prefixed with a $ sign, like this: