Open .bash_profile File in TextEdit using Terminal

If you want to open the .bash_profile file in TextEdit app on your Mac, run the below command in Terminal.

# open -e ~/.bash_profile
Open .bash_profile file in TextEdit Command

The .bash_profile file is a hidden file and should be located inside your home directory.

bash_profile file opened in TextEdit App Mac

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!