Skip to Content
CentOS Bible
book

CentOS Bible

by Christopher Negus, Timothy Boronczyk
August 2009
Beginner
984 pages
26h 2m
English
Wiley
Content preview from CentOS Bible

Chapter 4. Using Linux Commands

This chapter presents a view of Linux from the shell. The shell is a command-line interpreter that lets you access some of the most critical Linux tools. The shell is powerful, complex, and almost completely unintuitive.

Although at first it isn't obvious how to use the shell, with the right help you can quickly learn many of the most important shell features. In CentOS, bash is the shell command interpreter used by default, and therefore, the one used for most of the examples in this chapter. Other shells, such as csh, ksh, sh, and others, are also available and are therefore also noted in this chapter.

This chapter is your guide to working with the Linux system commands, processes, and file system from the shell. It describes the shell environment and helps you tailor it to your needs. It also describes how to use and move around the file system.

The Shell Interface

Throughout this book, there are procedures that require you to use a shell to run commands. How you first get to a shell depends on whether your computer is configured to have a graphical user interface (GUI) or not. A desktop system, by its nature, starts with a GUI. Server systems often are run entirely from the command line. Here are ways of reaching a shell, depending on whether you have a desktop GUI running or not:

  • No Desktop—If your Linux system has no GUI (or one ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson
The Definitive Guide to CentOS

The Definitive Guide to CentOS

Peter Membrey, Tim Verhoeven, Ralph Angenendt

Publisher Resources

ISBN: 9780470481653Purchase book