Suse Linux Professional 9.2 Upgrade [Strong Encryption 128 Bit] 00662644457260 User Manual

Product codes
00662644457260
Page of 324
21
W
or
king
with
the
Shell
In the man pages, move up and down with




PgUp
and




PgDn
. Move between the
beginning and the end of a document with




Home
and




End
. End this viewing
mode by pressing




Q
. Learn more about the
man
command itself with
man man
.
There are many more commands than listed in this chapter. For information
about other commands or more detailed information, the O’Reilly publication
Linux in a Nutshell is recommended. In the following overview, the individual
command elements are written in different typefaces.
The actual command and its mandatory options are always printed as
command
option
. Specifications or parameters that are not required are placed in
[square brackets]
.
Adjust the settings to your needs. It makes no sense to write
ls file(s)
, if no
file named
file(s)
actually exists. You can usually combine several parameters,
for example, by writing
ls -la
instead of
ls -l -a
.
21.3.1
File Commands
File Administration
ls [option(s)] [file(s)]
If you run
ls
without any additional parame-
ters, the program lists the contents of the current directory in short form.
-l
Detailed list
-a
Displays hidden files
cp [option(s)] sourcefile targetfile
Copies
sourcefile
to
targetfile
.
-i
Waits for confirmation, if necessary, before an existing
targetfile
is
overwritten
-r
Copies recursively (includes subdirectories)
mv [option(s)] sourcefile targetfile
Copies
sourcefile
to
targetfile
then deletes the original
sourcefile
.
-b
Creates a backup copy of the
sourcefile
before moving
-i
Waits for confirmation, if necessary, before an existing
targetfile
is
overwritten
271
SUSE LINUX