fc
Stands for "fix command."
List recent commands
fc -l # list recent commands
fc -l 1 # list from command #1 onwards
Clear history (nice to use on Kali)
fc -p && echo "" > ~/.zsh_history
Stands for "fix command."
fc -l # list recent commands
fc -l 1 # list from command #1 onwards
fc -p && echo "" > ~/.zsh_history