0 votes
25 views
asked in MacOX by
Hi

  I want to edit and save the Bash_profile on mac. Could you guys provide the valid commands to do this?

1 Answer

0 votes
answered by (8.2k points)

Try the below command to edit

 touch ~/.bash_profile; 

open ~/.bash_profile

Try this command to Exc 

source ~/.bash_profile

Alternatively,  ~/.bash_profile

More Editor option
nano ~/.bash_profile
mate ~/.bash_profile
vim ~/.bash_profile

Categories

...