Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can you still write Bash scripts and aliases in macos High Sierra?

Can you still write Bash scripts and aliases in macos High Sierra? If so HOW?

Posted on Dec 10, 2018 6:48 AM

Reply
Question marked as Best reply

Posted on Dec 10, 2018 9:14 AM

You can still write Bash v3.2.57 scripts and assign aliases in your dot startup files (e.g. .bash_profile, .bashrc). I mentioned the Bash version because most of the examples of Bash syntax on the web are from those using Bash v4.n on Linux. Bash v4 unique features are not backwards compatible.


alias tt='open -a Textastic "$@"'

tt ~/Desktop/foo.py


Where Textastic is an advanced programmer's editor available from the Mac App Store.

Similar questions

5 replies
Question marked as Best reply

Dec 10, 2018 9:14 AM in response to richardc7

You can still write Bash v3.2.57 scripts and assign aliases in your dot startup files (e.g. .bash_profile, .bashrc). I mentioned the Bash version because most of the examples of Bash syntax on the web are from those using Bash v4.n on Linux. Bash v4 unique features are not backwards compatible.


alias tt='open -a Textastic "$@"'

tt ~/Desktop/foo.py


Where Textastic is an advanced programmer's editor available from the Mac App Store.

Can you still write Bash scripts and aliases in macos High Sierra?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.