Side Note: To learn how to migrate your aliases from bash to zsh, see this. # Application & Web Access Commands - 2Īlias ntw="open /System/Library/PreferencePanes/Network.prefPane/"Īlias dsp="open /System/Library/PreferencePanes/Displays.prefPane/"Īlias ppt="open -a Microsoft\ PowerPoint"Īlias apon="sudo networksetup -setairportpower en1 on"Īlias apoff="sudo networksetup -setairportpower en1 off"Īlias hshut="pmset -g batt sudo osascript -e \"set Volume 0\" brt 0.01 sudo shutdown -h now" # Application & Web Access Commands - 1Īlias rdc="open -na Microsoft\ Remote\ Desktop"Īlias smc="open -a Cisco\ An圜onnect\ Secure\ Mobility\ Client"Īlias mu="osascript -e \"set volume output volume 0\""Īlias fv="osascript -e \"set volume output volume 100\"" Īlias editsh="nano ~/.zshrc source ~/.zshrc"Īlias gtalias="alias | grep \"^alias gt\"" Now, all you have to do is type am in Terminal, press enter, and it opens Activity Monitor.įWIW, here's other aliases too that I have in my ~/.zshrc that have incredibly improved my ability to use macOS: # - File Access Commands. Put the following line in ~/.zshrc: alias am="open -a activity\ monitor" You may also be able to launch the Task Manager by pressing Ctrl + Alt + Esc. I just added a \ in front of the special characters to escape them and then it all worked as expected.) Pressing all three of these keys at the same time brings up a full-screen menu. All of my bash aliases worked fine except for the ones containing special characters. Put the following line in ~/.bash_profile file: (I switched to zsh finally. Most pro users use them pretty frequently and I have one for launching Activity Monitor as well.Įven on macOS Big Sur my default shell is bash and not zsh.