Ubuntu Tutorials - Herong's Tutorial Examples - v1.25, by Herong Yang
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
Introduction to Ubuntu Systems
GNOME - Desktop Interface and Environment
►Shell - The Command-Line Interpreter
What Is Bash (Bourne Again SHell)
Bash Command Line Interpretation Steps
►Bash Shell Session Customization
Command Input/Output Redirection