其他分享
首页 > 其他分享> > mac - common key shortcuts and terminal operations

mac - common key shortcuts and terminal operations

作者:互联网

terminal key shortcuts:

terminal operations:

1. open google chrome from terminal

If you just want to open the Google Chrome from terminal instantly for once then open -a "Google Chrome" works fine from Mac Terminal.

If you want to use an alias to call Chrome from terminal then you need to edit the bash profile and add an alias on ~/.bash_profile or ~/.zshrc file.The steps are below :

2. Atom open file from terminal

$ Atom .bash_profile

references:

1. https://stackoverflow.com/questions/34796888/how-to-open-google-chrome-from-terminal

2. https://skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/

标签:operations,Ctrl,shortcuts,terminal,chrome,file,open,bash
来源: https://blog.csdn.net/wangbingfengf98/article/details/89301061