I want to launch sublime from a command line in Mac, using subl filename. It seems to involve dealing with .bash_profile. But I didn\'t locate the
subl filename
.bash_profile
Update I'm on Mac OS Mojave.
Open Terminal.app and paste bellow line,
Terminal.app
(1) touch .bash_profile (2) open -a TextEdit.app .bash_profile
this will open a blank page in TextEdit.app , from here you can add,update,delete code.
TextEdit.app
add,update,delete
I hope this will help someone.