218 You Are Here
C:GAMES\Quake\ID1>
Your Linux system, by default, just shows your current directory.
Figure 16.1: The command pwd shows you where you are
Try this: open an xterm window. You’ll see something like:
[billy@localhost billy]$
Now type:
pwd
What do you see? Something like
/home/billy
The command pwd stands for print working directory.Whenyoutypedpwd, you were asking your
Linux system, “where am I?” Your system responded by “printing” the directory you’re in to the
monitor (as shown in Figure 16.1).
Seems easy, right? It ought to be; you’ll be using pwd plenty as you look around. (Even Linux gurus
depend on this little command.)
Comments to this Manuals