bash_profile
bash_profile cmd is used to change the color of a directory, file, etc.
Procedures
- Switch as a user
su - t1
- Create directory and file
mkdir file (directory) touch data.txt (file)
- Open the configuration file and make an entry for directory and file to change the previous color
vim .bash_profile LS_COLORS="di=1:31" for directory color change LS_COLORS="fi=1:32" for file color color change
- reload the file and list the file and directory
source .bash_profile ls
Types of User Profile Management in LINUX
User profile management is an essential topic in the profile management system, and it describes how the user can handle the profile. Various types of user-profiles management in Linux are –
- bashrc
- bash_profile
- bash_history
- bash_logout
Contact Us