Hardware Reference
In-Depth Information
It will run the apt-get application as root. This particular command will invoke
apt-get Easter egg , proving that computer programmers sometimes do have
a sense of humor!
Running a command as root that can make your Raspberry Pi moo!
Moving around the filesystem using bash
The most basic part of using a command interpreter, such as bash, is to be able to
move around the Linux filesystem. It is important to understand how bash lets you
represent directories. This is done in two different ways: using absolute paths and
relative paths .
Absolute paths
An absolute path is a path that describes the location of a file or folder starting from
/ (root). This is easy to spot as it will always start with / .
An example of an absolute path is /home/pi/Desktop . This path is the folder that
contains all the items on your desktop.
Relative paths
A relative path is a path to the file or folder that is described based on where you are
in the filesystem.
An example of a relative path is ../Desktop . This means that a folder called
Desktop is stored in a folder that is one level above the one you are in.
 
Search WWH ::




Custom Search