The Red Hat Documentation Team - Official Red Hat Linux User's Guide
Authors: N
Published year: 2002
Pages: 81-83/223
Buy this book on amazon.com >>

Additional Resources

This chapter covers several applications briefly . Refer to the following resources for more information about the applications in this chapter.

Installed Documentation

  • cdrecord man page — Discusses how to burn data, audio, and mixed-mode CD-ROMs. Offers all options and commands in detail, including some example commands for common CD-R(W) burning tasks .

  • /usr/share/doc/cdrecord-version (where version is the version of cdrecord installed on your system) — Several documentation files are included with general usage and licensing information.

  • mkisofs man page — Comprehensive detail of the utility, including some warnings about creating certain types of ISO images. Offers all options and commands in detail, including some example commands for creating common ISO image files.

  • /usr/share/doc/mkisofs-version (where version is the version of mkisofs installed on your system) — Several documentation files are included with general usage and licensing information.

  • /usr/share/doc/xcdroast-version (where version is the version of X-CD-Roast installed on your system) — Contains useful command-line options and usage information for this graphical CD-R(W) mastering application.

  • /usr/share/doc/dvdrecord-version (where version is the version of dvdrecord installed on your system) — For users who have DVD-R(+W) devices, this set of documentation helps you get started mastering DVD-ROMs for data backup and multimedia presentation.

Useful Websites

  • http://www.xcdroast.org/ — The official website of the X-CD-Roast project.

  • http:// freshmeat .net/projects/cdrecord/ — The cdrecord project page on Freshmeat is regularly updated with the newest releases, news, and user commentary .

  • http://www.freesoftware.fsf.org/dvdrtools/ — The official website of the dvdrtools project, which includes the dvdrecord utility for writing DVD-R(+W) discs.



Chapter 8: Shell Prompt Basics

Overview

The shell prompt (also known as the command line interface, or CLI) is a text-only interface to your Red Hat system. Just about any administration task (such as managing files, users, and groups) can be performed from the shell prompt.

Note 

By default, Red Hat Linux uses the bash shell prompt, although you can change to another shell if you prefer by typing the name of the shell at the command prompt.

This chapter shows you the basics of how to interact with Red Hat Linux from a shell prompt.



Why Use a Shell Prompt?

Graphical environments for Linux have come a long way in the past few years . You can be perfectly productive in the X Window System and only have to open a shell prompt to complete a few tasks . However, many Red Hat Linux functions can be completed faster from the shell prompt than from a GUI. In less time than it might take you to open a file manager, locate a directory, and then create, delete, or modify files from a GUI, you could have finished your work with just a few commands at a shell prompt.


Figure 8-1. A Shell Prompt

A shell prompt looks similar to other command-line interfaces you might be familiar with, such as MS-DOS. When you enter commands at a shell prompt, the shell interprets these commands and then tells the Linux operating system (OS) what to do. Experienced users can write shell scripts to expand their capabilities even further.

The following sections explain how to navigate, manipulate files, perform simple administration tasks, and other shell prompt basics.

Determining Your Current Directory with pwd

Once you start looking through directories, it is easy to get lost or forget the name of your current directory. By default, the bash shell shows only your current directory, not the entire path .


Figure 8-2. The pwd Command Shows You Where You Are

To determine the exact location of your current directory within the file system, go to a shell prompt, type the command pwd , and press Enter.

You should see something like:

/home/sam

This tells you that you are in the user sam 's directory, which is located in the /home directory.

The pwd command stands for print working directory . When you enter the pwd command, you’re basically asking Linux to display your current location within the file system. Linux responds by printing the name of the current directory at the shell prompt, also known as the standard output .

You will find that using pwd is very helpful as you learn to navigate Red Hat Linux.


The Red Hat Documentation Team - Official Red Hat Linux User's Guide
Authors: N
Published year: 2002
Pages: 81-83/223
Buy this book on amazon.com >>

Similar books