-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Raspberry Pi for Secret Agents - Second Edition
By :

Once NOOBS has completed the Raspbian installation and your Pi has been rebooted, you should see text scroll by on your display. These are status messages from the booting Linux kernel.
raspi-config application running on first boot
The output will come to a halt in a minute and you'll be presented with a menu-type application called raspi-config
. Use your arrow keys to navigate and press the Enter key to select menu options. The menu options are as follows:
pi
. This is strongly recommended. Just in case you forget, the default password is raspberry
.The Advanced Options menu contains the following options:
raspberrypi
.raspi-config
application itself to the latest version. You can leave this option alone for now as we will make sure all the software is up to date later in this chapter.Once you're happy with the configuration, select Finish and Yes to reboot the Pi.
At the raspberrypi login prompt, enter pi
as the username and enter the password you chose.
Now that you're logged in, let's have a look at a handful out of the several hundred possible commands that you can type in the command line. When a command is run prepended with sudo,
it'll start with super user or root privileges. That's the equivalent of the Administrator user in the Windows world.
Command |
Description |
---|---|
|
This starts |
|
This reboots the Pi. |
|
This prepares the Pi to be powered off. Always type this before pulling the plug! |
|
This becomes the root user. Just be careful not to delete anything by mistake! |
|
This displays the amount of disk space available on your SD card. |
|
This displays memory usage information. |
|
This displays the current time. |
|
This starts a task manager that shows running processes with the most CPU hungry applications on top. Press Q to quit. |
|
This logs you out of your current shell or SSH session. |
|
This will enable your Pi to check/repair the root file system at the next boot. It's a useful command if you suspect your SD card data might be damaged. |
Here are a few tricks that will help you get the hang of the Linux command line:
top
application, type man top
. Use the arrow keys to scroll and press Q to quit.--help
and -h
. For example, to see the help text for the ls
command, type ls --help
.Change the font size
Change margin width
Change background colour