Trương Duy
New member
How do I open and edit a file in bash?
Answer
On a MacBook, step by step:
Answer
On a MacBook, step by step:
- First of all, open a terminal and write it: cd ~/
- Create your Bash file: touch .bash_profile. You created your “.bash_profile” file, but if you would like to edit it, you should write it;
- Edit your Bash profile: open -e .bash_profile.