Command Line Tools

Shells in RHEL 6

Before you can dive into working with the Linux command line and shells, it's a good idea to first understand what Linux shell is.

The shell

Linux shell is a special interactive utility. It provides a way for users to start programs, manage files on the filesystem, and manage processes running on the Linux system. The core of the shell is the command prompt. The command prompt is the interactive part of the shell. It allows you to enter text commands, interprets the commands, then executes the commands in the kernel.

The shell contains a set of internal commands that you use to control things such as copying files, moving files, renaming files, displaying the programs currently running on the system, and stopping programs running on the system. Besides the internal commands, the shell also allows you to enter the name of a program at the command prompt. The shell passes the program name off to the kernel to start it.

In RHEL 6 four shells available for users. User have their choice in command line interpreters.

ShellDescription
bashThe default Bourne-Again shell, based on the command line interpreter originally developed by Stephen Bourne.
dashA simpler shell with fewer features than bash, but faster.
tcshA shell that incorporates elements from the C programming language into shell scripts
zshAn advanced shell that incorporates features from bash, tcsh, and korn,
  • These shells are configured in the /bin directory.
  • Default shell in RHCE is bash.

 

Search more about

Search in Google for

Custom Search