Compare difference between two files.
diff -u [file1] [file2]
Search for a file in a directory.
find [dir] -name [filename]
Search for a pattern in a file.
grep -i [pattern] [file]
Create a symbolic link
ln -s [source] [destination]
Find and replace a string within a file.
sed -i 's/[find]/[replace]/' [file]
Monitor a file.
tail -f [file]
Shortcut | Description |
---|---|
Control + Alt + A | Add terminal |
Control + Alt + D | Add terminal down |
Control + Alt + R | Add terminal right |
Shift + Alt + ▲, ▼, ◄, ► | Directionally resize a terminal |
Control + Tab | Switch to next terminal |
Control + Shift + Tab | Switch to previous terminal |
Alt + ▲, ▼, ◄, ► | Directionally switch to a terminal |
Alt + 0 - 9 | Switch to a specific terminal |