The bash shell - What is bash shell?



A command line is a text – based interface which can be used to input instructions to a computer system. The Linux command line is provided by a program called the shell. Over the long history of UNIX – like systems, many shells have been developed.

When a shell is used interactively, it displays a string when it is waiting for a command from the user. This is called the shell prompt. When a regular user starts a shell, the default prompt ends with a $ character.

Command line with regular user

The $ is replaced by a # if the shell running as the super user, root. This makes it more obvious that it is a super user shell. Which helps to avoid accidents and mistakes in the privileged account.

Command line with root user


Using bash to execute commands can be powerful. The bash shell provides a scripting language that can support automation of tasks. The shell has additional capabilities that can simplify or make possible operations that are hard to accomplish efficiently with graphical tools.    



Tech info

Comments