Handy shell commands
run the previous command as root
sudo !!
go back to the previous directory
cd -
do sneaky things that won’t show up in history
$<space>sneaky_command
$ sneaky_command
print video resolution with ffprobe
ffprobe -v error -select_streams v:0 -show_entries stream=width,height \
-of csv=s=x:p=0 input.mp4