====== Linux CLI Tricks ====== ^ Re-use last command's arguments | '' !$'' | ^ execute last command | ''!!'' | ^ bind F1 to manual for last command | ''%%bind '"\eOP":"man !!:0\n"'%%'' | ^ test connection to port | ''[[https://en.wikipedia.org/wiki/Netcat|nc]] %%--zero --verbose %%''[(you can use ''telnet'', but this doesn't automatically close the connection)] | ===== see also ===== * [[http://www.bashoneliners.com/|Bash one-liners]] * [[https://www.commandlinefu.com|Command line fu]] * [[https://stackoverflow.com/questions/68372/what-is-your-single-most-favorite-command-line-trick-using-bash|StackOverflow: favorite command line tricks]]