mac terminal command:
1. root permissions
$sudo su -
2. Navigate to the specified folder location
$cd /Users/computername/Desktop (navigate to the desktop)
3. Create a new folder
$mkdir folder name
4. Program installation
$pip install program name
or
$brew install program name
5. Create a virtual environment
$pip install virtualenv
$virtualenv environment name
or
$python -m venv environment name
6. Delete the file (under this directory)
$rm filename
$rm rm -r -f non-empty file
7. Others
$cp path1/filenamepath2
$open filename (default program to open)
$ssh computer name@IP address
$tree folder show structure
pycharm common shortcut keys
command+/ comment
command+D to copy as a copy
Tab adds a space at the beginning of a line (multi-line operation)
shift+tab undo the space at the beginning of the line (multi-line operation)
command+F Find
command+R replace
command+shift+F global search
command+N new file/folder
command+click on module/function/method/filename View source
shift+return Quick line break
Running, debugging, etc. is still accustomed to clicking the menu bar