Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




NOTE: CentOS Enterprise Linux is built from the Red Hat Enterprise Linux source code. Other than logo and name changes CentOS Enterprise Linux is compatible with the equivalent Red Hat version. This document applies equally to both Red Hat and CentOS Enterprise Linux.

Chapter 4. Shell Prompt Basics

4.1. 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 Enterprise Linux functions can be completed faster from the shell prompt than from a graphical user interface (GUI). In less time than it takes to open a file manager, locate a directory, and then create, delete, or modify files from a GUI, a task can be finished with just a few commands at a shell prompt.

A shell prompt looks similar to other command line interfaces with which you might be familiar. Users type commands at a shell prompt, the shell interprets these commands, and then the shell tells the OS what to do. Experienced users can write shell scripts to expand their capabilities even further.

Figure 4-1. A Shell Prompt

This chapter explains how to navigate the file system, manipulate files, perform simple administration tasks, and other shell prompt basics.

  Published under the terms of the GNU General Public License Design by Interspire