O'Reilly logo

Troubleshooting Ubuntu Server by Skanda Bhargav

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Optimizing the shell

By default, Ubuntu configures the root and the first user created to the bash shell. This is the traditional shell. Any users created from this shell will also be given the same bash shell. We will discuss the configuration files and commands related to the bash shell. The system-wide settings files can be located in the folder /etc. Some of the most important ones are bash.bashrc, bash_completion, profile, and scripts stored in the /etc/bash_completion.d folder:

Optimizing the shell

The same files are supplemented and you can override them as hidden files in each users' home directory. The files are .bashrc, .bash_history, .bash_logout, and .profile ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required