guide:linux:cli:tricks

Linux CLI Tricks

Re-use last command's arguments <new command> !$
execute last command !!
bind F1 to manual for last command bind '"\eOP":"man !!:0\n"'
test connection to port nc --zero --verbose <host> <port>[(you can use telnet, but this doesn't automatically close the connection)]
  • Last modified: 2022-06-13 13:37