Working in vfx means spending most of our time on Linux. Here is a quick cheat sheet of underestimated commands you could use on a daily basis
| Command | Effect |
|---|---|
| ctrl+l | equivalent of the "clear" command |
| cd - | go back to the previous directory, like the "previous" button in a file explorer |
| reset | removes terminal history, erases it |
| pushd | equivalent to cd, but will remember the previous directory |
| popd | returns to the directory right before you used pushd |
| ctrl+z | send to background. An underestimated use is to 'close' a nano/vi file without saving and with the possibility to reopen it later |
| fg | bring back whatever has been minimized by ctrl+z in this session |
| !! | calls the last command. Ex: if you "apt install xxx" and it errors because no sudo, you can then type sudo !! |
| ctrl+r | search in previously used commands |
| history | list all commands ran since the very beginning |
| !42 | will run the 42th command in the history stack |
| which xxx | gives info about xxx, either a path, or says it's a function, etc... |
| cmatrix | nice screensaver plugin ;) you might have to "apt install cmatrix" |
| F9 | toggle terminal fullscreen |
| ctrl+a | brings cursor to the beginning of the line |
| ctrl+e | brings cursor to the end of the line |
| alt+b | moves cursor 1 word back |
| alt+e | moves cursor 1 word forward |
| tail filename | shows the last bit of a filename |
| something | column -t | displays everything into nice columns to read it easily |