Mac terminal commands and Pycharm frequently used shortcut key record

Source: Internet
Author: User
Tags virtual environment virtualenv

Mac Terminal command:

1.root Permissions

$sudo Su-

2. Navigate to the specified folder location

$CD/users/Computer Name/desktop (navigate to 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 files (in this directory)

$RM file name
$RM RM -R-F non-empty file

7. Other

$CP Path 1/file name path 2

$open file name (default program Open)

$SSH Computer name @ip address

$tree folder Display structure

Pycharm Common shortcut keys

command+/notes

Command+d Copy as Copy

tab to add a line start space (multiline operation)

Shift+tab Undo Line Start Space (multiline operation)

Command+f Find

Command+r replacement

COMMAND+SHIFT+F Global Lookups
Command+n New File/clip

command+ Click module/function/method/file name to view the source

Shift+return Quick-Change line

Run, debug, etc. or get used to the dot menu bar

Mac terminal commands and Pycharm frequently used shortcut key record

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.