|
Insert Line Before
|
Ctrl + Shift + Enter
|
|
Insert Line After
|
Ctrl + Shift
|
|
Move Forward / Back One Word
|
Alt + Left / Right
|
|
Move to Start / End of Line
|
Ctrl + Shift + Left / Right
|
|
Select Word (Repeatable)
|
Ctrl + D
|
|
Select Line (Repeatable)
|
Ctrl + L
|
|
Select Scope (Repeatable)
|
Ctrl + Shift + Space
|
|
Select Previos / Next Word
|
Alt + Shift + Left / Right
|
|
Select to Start / End of Line
|
Ctrl + Shift + Right / Left
|
|
Duplicate Line
|
Ctrl + Shift + D
|
|
Add Cursdor Above / Below
|
Alt + Shift + Down / Up
|
|
Find
|
Ctrl + F
|
|
Find in Files
|
Ctrl + Shift + F
|
|
Replace
|
Ctrl + H
|
|
Goto Anything
|
Ctrl + P
|
|
Goto Symbol
|
Ctrl + R
|
|
Goto Line #
|
Ctrl + G
|
|
1 Window
|
Alt + Shift + 1
|
|
2 Colums
|
Alt + Shift + 2
|
|
2 Rows
|
Alt + Shift + 8
|
|
Grid
|
Alt + Shift + 5
|
|
Freeze Requirements
|
pip freeze > requirements.txt
|
|
Install Requirements
|
pip install -r requirements.txt
|
|
Install
|
pip install virtualenv
|
|
Create Virtual Enviroment
|
virtualenv venv
|
|
Choose Python Interpreter
|
virtualenv -p /usr/bin/python2.7 venv
|
|
Activate Virtual Enviroment
|
source venv/bin/activate
|
|
Deactivate
|
deactivate
|
|
Print Working Directory
|
pwd
|
|
Change Directory
|
cd
|
|
Change Directory (parant directory)
|
cd ..
|
|
List Directories
|
ls
|
|
New File
|
touch
|
|
Read File
|
cat
|
|
Copy File
|
cp filename destpath
|
|
Move File
|
mv filename destpath
|
|
Rename File
|
mv oldfile newfile
|
|
Make Directory (multiple directories)
|
mkdir books music
|
|
Make Directory (subdirectories)
|
mkdir -p books/hemmingway/favorites
|
|
Remove (files & directories)
|
rm
|
|
What is Command
|
whatis commandname
|
|
Exit
|
exit
|
|
Install
|
dnf install package
|
|
Remove
|
dnf remove package
|
|
Search
|
dnf search package
|
|
Upgarde
|
dnf upgrade package
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.