Tuesday, November 5, 2013

What the command prompt means? pi@raspberrypi ~ $

After you open terminal, LXTerminal, in Raspberry Pi, you can "see pi@raspberrypi ~ $ ". What does it mean?

what does "pi@raspberrypi ~ $" mean
- pi: The first part, is your user name.
raspberrypi: The second part, the host name.
- the last part after ~, the directory you are current in.

~ refer to the home of the current user.
the command pwd used in the screen shot is a Linux command, print working directory, print the path of the current working directory.

No comments: