Where Is the Bashrc File Located in Linux?
Contents What Is a Bashrc File in Linux? Bashrc File Is a Script File That’s Executed When a User Logs In. the File Itself Contains a Series of Configurations...
What is a Bashrc file in Linux?
bashrc file is a script file that’s executed when a user logs in. The file itself contains a series of configurations for the terminal session. This includes setting up or enabling: coloring, completion, shell history, command aliases, and more. It is a hidden file and simple ls command won’t show the file.
How do you edit .bashrc file in Linux?
Once you use putty to SSH into your server, you can run “ls -al . bashrc” and it should show you the file, edit this with an editor you know, if none, then use vi like this “vi . bashrc“. Go to where you need to edit the file and type in “i” to put vi in Insert mode.