Element 14 Raspberry Pi User Manual page 13

Table of Contents

Advertisement

How will I know?
Remember we said there's good news and bad news?
Well, the bad news is that it can be quite tricky to find
commands if you don't know what they're called.
One helpful feature is the
search. This is done with the
To search for all the programs related
to 'browser' on your system, run
man -k browser
. You'll notice that
this lists graphical programs as well as
command line ones. This is because there's
no real difference between the two. You
can launch windows from the terminal,
and sometimes even control them.
If you've got Iceweasel (a rebranded
version of Firefox ) installed on your
Pi (it's not on there by default), you
can open
TuxRadar.com
tab in a currently running Iceweasel
window with the command
--new-tab www.tuxradar.com
Probably the most important command in any Unix-like system is man, since it is the key to
understanding every other command. Take time to become familiar with the structure and language
used and it will make life easier in the future.
Raspberry Pi User Guide.indd 13
keyword
We're now going to quickly introduce a few
man
flag.
useful commands.
-k
a file.
copies a file from one place to another.
This one takes two arguments, the original
file and the new file.
contents of one or more text files. This
takes as many arguments as you want,
each one a text file, and simply spits their
contents out on to the terminal.
a more friendly way of viewing text files.
It lets you scroll up and down using the
arrow keys. To exit the program back to
the command line, press Q. We'll use all
in a new
these commands in examples below, so
we won't dwell on them for too long.
iceweasel
.
deletes (ReMoves)
rm
makes a new directory.
mkdir
cat
outputs the
less
cp
is
find
find
is a useful
command for
finding files on your
computer. You use
it in the format
location flags
For example, to
find every file on
your computer
that's changed in
the last day, run
find / -mtime 1
There are more
details of what
this means, and
the different flags
that can be used
over the page.
08/07/2014 14:44
find
.
13

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Element 14 Raspberry Pi

Table of Contents