title | kind | keywords | created_at | ||
---|---|---|---|---|---|
Working in the Shell |
cheatsheet |
|
2015-jun-16 08:15:00 |
man readline
for more
Ctrl+L
- clear screen
Ctrl+U
- delete backwards to the start of the line
Ctrl+K
- delete until end of line
Alt+F
- move forward 1 word
Alt+B
- move backward 1 word
Ctrl+R
- search history
Use it!
Ctrl+B
- Hotkey (before all shortcuts, like in emacs)
?
- Help
"
- Split vertically
%
- Split horizontally
Push a directory onto stack and enter it
$ pushd /dir/name
pop directory off, go back to previous
$ popd
$ asar list app.asar | grep -v "^/node" # every line NOT (-v) starting with (^) "/node"
$ sort log.csv | uniq > clean.csv
$ grep -E 'Set Flat|Show Panorama' clean.csv > flatpano.csv
$ egrep -o '([TLF][0-9].*){1,3}' clean.csv