How do you edit .bashrc file in Linux?

Nam Phong

New member
How do you edit .bashrc file in Linux?
Answer
Steps to Setting Up Aliases in the bash-shell
  1. Open your .bashrc. Your .bashrc file is located in your user directory.
  2. Go to the end of the file. In vim, you can accomplish this just by hitting “G” (please note that it is capital).
  3. Add the alias.
  4. Write and close the file.
  5. Install the .bashrc.
 

Tìm kiếm

Back
Top