Cover | Table of Contents
http://www.opensuse.org], boot from CD1.) You will be presented with an initial boot menu that will (if you let it time out) boot from the hard drive. This isn't what you want, so select "Installation" from the menu. A Linux kernel and a RAM-disk image will now be loaded from the DVD or CD. The RAM-disk image is a small filesystem, held in memory, that Linux uses during the installation. You'll be asked to select the language you want to use for the installation.
man command; for example:
chris@snowhite:~> man gcc
id command is just 64 lines. The page for gcc is over 9,000 lines. When viewed from a command prompt, manpages are piped through the program less to allow you to browse them. I discuss less in more detail in Chapter 2, but for now it is sufficient to know that you can press the up and down arrow keys to scroll through the material, and q to quit.apropos command to search the keyword-in-context index of the manpages and show matching entries. For example:
chris@snowhite:~> apropos compiler
username@hostname:directory>
chris@snowhite:~>
less.
It's easy to run: you just supply the filename as an argument:$ less /usr/share/doc/packages/sodipodi/README
less is a reference to an earlier and simpler program called more, which let you browse through the file a screenful at a time. Each time you pressed the spacebar, you saw more of the file. The later program less is actually fancier; in particular, you can page up as well as down through the file. "Less is more" is the wisdom on the streets. You will discover that the names of many Linux commands are either (a) an historical accident, (b) an obscure reference to something that came earlier, or (c) a testimony to the somewhat limited sense of humor of people who give names to Linux commands.less, it will display the first screenful of the file, then pause, wondering what to do next. There are many single-character commands that you can enter at this stage; typing h will show you a command summary (the top part of which is shown in Figure 2-1), but you can drive less satisfactorily with rather few commands (see Table 2-1).
|
Command
|
Description
|
|---|---|
|
Spacebar or Page Down
|
C:\Program Files\Adobe\Acrobat 6.0
/opt/mozilla/bin
|
To do this
|
In Konqueror
|
From a command prompt
|
|---|---|---|
|
Delete a file
|
Right-click the file and select Move to Trash from the context menu.
|
$ rm filename
|
|
Rename a file
|
Right-click the file and select Rename from the context menu. Enter the new name.
|
$ mv oldname newname
|
|
Copy a file
|
Control-click to select the file, then type Control-C or select Edit → Copy from the menu. Navigate to the destination directory, and then type Control-V or select Edit → Paste from the menu. You can also copy files using drag-and-drop between two Konqueror windows.
|
$ cp oldname newname
|
|
Create a file
|
Right-click a whitespace area and select Create New from the menu that appears.
|
$ touch filename
|
single to the kernel command in grub will make the kernel boot in single-user mode.libdvdcss library? Then you unexpectedly run out of space on a partition—is there some giant file filling it up that you don't know about? As another example, suppose you've just removed the account for the user dave. Presumably most of dave's files were in his home directory, /home/dave, but are there any files anywhere else owned by dave?kfind. From the main KDE menu, select Find Files. This will display the file finder dialog, which has three tabs under which you can enter search criteria: Name/Location, Contents, and Properties. Simple name-based searches can be performed using only the Name/Location tab (Figure 2-14). Enter the name, check the Include subfolders box if you want the search to recurse down into directories below the one you start in, and click Find.
*, ?, and [...] wildcard notations that the shell understands. For example, [A-Z]*.png will find files whose name begins with an uppercase letter and ends with .png.
# mount -t ext3 /dev/hda5 /usr/local
Xvnc, and the client (which runs on the machine you're actually sitting at) is called vncviewer.vncpasswd on the target machine. This process will ask you for a password, encrypt it, and store it in ~/.vnc/passwd. Optionally, you can specify a "view only" password which, if you use it to connect to the target machine, will allow you to passively observe a desktop, but not actively control it.vncserver. This is a Perl script in /usr/bin. It is essentially a "wrapper" that starts the VNC server, Xvnc, with appropriate arguments.vncserver will report the desktop number of the desktop session it has started. You will need this to connect to the session using vncviewer. In the following example, the desktop is ":1".
$ vncserver
New 'X' desktop is snowhite:1
Starting applications specified in /home/chris/.vnc/xstartup
Log file is /home/chris/.vnc/snowhite:1.log
vncviewer reads the file
sax2.
You can run this from the main YaST screen by selecting Hardware from the panel on the left, then Graphics Card and Monitor from the panel on the right. You can also run sax2 directly from the command line; in fact, you can even run it from a terminal window without having a graphical desktop running at all. However, sax2 requires a graphical user interface and will start its own X server if it needs to. The main screen of sax2 is shown in Figure 3-2.
kmenuedit from a command prompt.) The menu editor screen has a tree control in the panel on the left that allows you to navigate through the menu hierarchy. For the sake of a simple example, here's how to add a shortcut key to invoke the Konsole terminal window:
top that displays a useful summary of the system load and the most resource-hungry processes currently running. System administrators find it useful for monitoring the health of busy servers. Here's how to put it on the System → Monitor menu:http://packman.iu-bremen.de/suse/10.0), where you will find a number of multimedia packages. You'll learn about installing packages with YOU in Chapter 5.KsCD. If it doesn't, you can start the player manually by selecting Multimedia → CD Player → KsCD from the main KDE menu.KsCD screen that gives access to the track list. If you have an Internet connection, the player will automatically contact a CDDB server to obtain a track list for your CD. (Go to Extras → Configure KsCD → CDDB to select a server; the default is freedb.freedb.org.) Track lists are cached in the ~/.cddb folder.gnome-cd, is also available, and has, if anything, an even cleaner user interface. (Select Multimedia → CD Player → CD Player from the main KDE menu.)
# mount -o loop mycdimage.iso /mnt