Bash Shell Session Customization

This section provides a tutorial example on how to modify Bash configuration files to customize Bash shell sessions.

If you are using Bash shell regularly, you may want to to customize your shell sessions by modifying the following configuration files. They are hidden files in your home directory:

You can use any text editor to add, delete, or modify commands in the configuration files to customize your Bash session. For example, you can add aliases to change default behavior of commonly used commands. For example:

herong$ vi ~/.bashrc
...
alias rm='rm -i'
alias cp='cp -ip'
alias ls='ls -l'
alias ps='ps -ax'

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