Handy shell commands

less than 1 minute read

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
ffprobe -v error -select_streams v:0 -show_entries stream=width,height \
-of csv=s=x:p=0 input.mp4

Tags:

Updated: