Hardware Reference
In-Depth Information
You can launch and run as many instances of LXTerminal as you like, but don't
forget that your Raspberry Pi doesn't have unlimited resources.
If you are not using the Xfce desktop environment, bash will be
launched when you log in.
The first thing that you will notice is that you have Command Prompt. By default,
this Command Prompt will show you the current directory that you are working in,
your Raspberry Pi's hostname (by default raspberrypi ), and your username (by
default this is pi ).
As you move around the filesystem, you will see the name of the directory that you
are in.
To run a command using the bash command interpreter, simply type the command
and press the Enter key. The command will run and the results will be displayed.
While a command is running, you won't be able to run other commands until it
is finished.
If you wish to let a command run in the background, all you need to
do is add an & operator to the end of the command. This will let the
command run in the background.
Linux is a full multiprocessing system and you can run as many instances of
LXTerminal as you want. To see which processing commands are running in the
background on your Raspberry Pi, simply run ps -a .
Basic bash commands
The best way to start learning bash is to start using it. Remember that if you really
make a mess of things, all you need to do is reimage your SD card and away you go!
It is easy to get more information about any of the commands that are referred to in
this chapter. You can do this using the man command.
The man command launches the built-in documentation system for Linux. Almost
every command available has documentation in the man system.
For example, to find out more information about the ls command, simply run the
following command:
man ls
 
Search WWH ::




Custom Search