By Matt Welsh, Matthias Kalle Dalheimer, Terry Dawson, Lar Kaufman
Cover | Table of Contents | Colophon
http://www.gnu.org/copyleft/gpl.html.
http://www.tldp.org. This page
contains many HOWTOs and other documents, as well
as pointers to other sites of interest to Linux users, including the
Linux Documentation Project manuals (see the following section).
root or
install to begin the installation process.
root, and
begin exploring the system. (Each distribution has a different method
for doing this; follow the instructions given by the distribution.)
root.
The root account, however, is intended exclusively for administrative
purposes. As root you have all kinds of privileges
and can access all files on your system.
root can be dangerous, especially
if you're new to Linux. Because there are no
restrictions on what root can do,
it's all too easy to mistype a command,
inadvertently delete files, damage your filesystem, and so on. You
should log in as root only when you need to
perform system administration tasks, such as fixing configuration
files, installing new software, and so on. See Section 5.1 in Chapter 5 for details.
lp_init: lp1 exists (0), using polling driver
Linux login:
root or
install — this varies with each distribution).
After you enter the username, the system may pause for 20 seconds or
more while the installation program or shell is being loaded from
floppy. Again, the floppy drive light should be on.
Don't assume the system is hung.
Linux login:
login: prompt in white letters on black
background, but with a fancy graphical login screen, possibly even
presenting you with the user accounts available on your system as
well as different modes to log into. The basic login procedure is the
same as described here, however; you still type your username and
password.
Linux login: prompt. If you
don't have an account yet, type
root because that account is certain to exist.
Some distributions may also set up an account called
install or some other name for fooling around when
you first install the system.
mdw, your personal files are located in
/home/mdw. This is called your home directory.
You can, of course, create more subdirectories under it.
/) as
a path separator may look odd to you because you are used to the
backslash (\). There is nothing tricky about the
slash. Slashes were actually used as path separators long before
people even started to think about MS-DOS or
Windows. The backslash has a different meaning on Unix (turning off
the special meaning of the next character, if any).
$ pwd
/home/mdw
$ cd /usr/bin $ pwd /usr/bin $ cd
stty function key
$ stty erase ^H $ stty kill ^U $ stty intr ^C $ stty susp ^Z
^H, represents the
ASCII code generated by the Backspace key.
$ cd /usr/inc
lude to
complete the name of the directory /usr/include.
Now you can press the Return key, and the command will execute.
$ ema
cs
to make emacs (unless some other command in your
path begins with ema).
$ cd /usr/l
$ ls
inv1jig.c inv2jig.c inv3jig.c invinitjig.c invpar.c
$ ls inv?jig.c
inv1jig.c inv2jig.c inv3jig.c
$ ls inv[13]jig.c
inv1jig.c inv3jig.c
$ ls inv[1-3]jig.c
inv1jig.c inv2jig.c inv3jig.c
0-9, and any alphabetic character by
specifying [a-zA-Z]. In the latter case, two
ranges are required because the shell is case-sensitive. The order
used, by the way, is that of the ASCII character
set.
inv and the
jig:
$ ls inv*jig.c
inv1jig.c inv2jig.c inv3jig.c invinitjig.c
$ ls /usr/bin > ~/Binaries