Hardware Reference
In-Depth Information
FIGURE 2-6
Using the text command
ls -l
to list more information about iles
and directories
he next prompt from Raspberry Pi will read like this:
pi@raspberrypi ~/Desktop $
Notice how
~/Desktop
has appeared as part of the prompt. his reminds you that
you are now in the Desktop directory, which in turn is inside your home directory.
You are now inside
/home/pi/Desktop
.
To go back to /
home/pi
, type the command
cd ..
(that's
cd
followed by a space and
two full stops).
pi@raspberrypi ~ $ cd ..
he
cd ..
command will move you up the directory tree to the parent directory. For
example, if you are in
/home/pi/Desktop
and type
cd ..
you are moved upwards
through the ile system to
/home/pi
. To check where you are in the ile system at any
time, type
pwd
to see your current directory, as shown in Figure 2-7.