Command Line Shortcuts
Simple Command Line Shortcuts To Speed Up Your Workflow.
Commands
These are basic command line commands, but it turns out not everyone knows about them and they're were handy:
Ctrl + A : To move the cursor to the beginning of the line
Ctrl + E : To move the cursor to the end of the line
Ctrl + U : To clear the line from the cursor back to the beginning
Ctrl + R : Search in previous commands:
View File Contents With The Line Numbers:
cat -n file.whatever
Find files containing specific text:
grep -Rl --include \*.py 'search_vector' ./
Last updated
Was this helpful?