What Is Shell

This section provides a quick introduction of shell programs on Ubuntu computer. Bash (Bourne Again SHell) is the default shell program.

What Is Shell? - A shell is a command-line Interpreter that provides a text based user interface for you to interact with the operating system.

Ubuntu distribution comes with 3 shells pre-installed on your computer:

You can read the /etc/shells file to see what shells are installed on your Ubuntu computers.

herong$ more /etc/shells 

# /etc/shells: valid login shells
/bin/sh
/bin/bash
/bin/rbash
/bin/dash

Note that "/bin/sh" is a link to the Dash program, "/bin/dash". It is not representing the original Shell program.

herong$ ls -l /bin/sh 

lrwxrwxrwx 1 root root 4 Sep 17  2019 /bin/sh -> dash

Table of Contents

 About This Book

 Introduction to Ubuntu Systems

 GNOME - Desktop Interface and Environment

Shell - The Command-Line Interpreter

What Is Shell

 What Is Bash (Bourne Again SHell)

 Create and Run Bash Script

 Bash Command Line Interpretation Steps

 Bash Shell Session Customization

 Command Input/Output Redirection

 Shell Session Command History

 "tmux" - Terminal Multiplexer

 Process Management

 Memory Management

 Files and Directories

 APT (Advanced Package Tool)

 Network Connection on Ubuntu

 Internet Networking Tools

 SSH Protocol and ssh/scp Commands

 Administrative Tasks

 References

 Full Version in PDF/EPUB