cd - goes back to last directory
reset clears and resets the terminal
apt update then want to do it again by adding sudo then no need to retype everything, just type sudo !! then the !! will copy the last command
history followed by !nn where nn is the command number show in history, will run that command
cmd1; cmd2; cmd3 The above will stop if one of these commands fail. If you use cmd1&& cmd2&& cmd3 then it will not stop if one command fail. so using ; is more safe.
command column t| is useful command to format messy output into columns so easier to read