Linux bash shell provides a lot of information into running applications. PATH is one of the most important one which is used to locate binary files and libraries. In some situations we may need to edit, add or remote some paths and locations from bash PATH variable. In this tutorial we will different use cases about these operations. Print Current PATH Variable We will start printing current PATH variable. This...
Tagged: bash profile
Linux bash profile is used to set some default or startup configuration about user accounts and bash. We have previously examined the .bashrc which resides in user home directory. In this tutorial we will look the /etc/profile or bash_profile. Bash_profile will effect to the whole system configuration. Bash_Profile Bash profile can be printed or edited like below.
$ cat /etc/profile
Execution Sequence There are different bash configuration files in Linux distributions. They have execution...