How do I open a bash file in Ubuntu?

Quang Hiếu

New member
How do I open a bash file in Ubuntu?
Answer
Luckily for us, this is simple to do in the bash-shell.
  • Open your .bashrc. Your .bashrc file is located in your user directory.
  • Go to the end of the file. In vim, you can accomplish this just by hitting “G” (please note that it is capital).
  • Add the alias.
  • Write and close the file.
  • Install the .bashrc.
 

Tìm kiếm

Back
Top