Comment Comment by snug The secret that I never see brought up on any of the linux command line tools is "esc + ." - It's by far one of the most valuable tricks I've learned, it will insert the last thing from the last commandls /foo/bar/this_is_the_file.txtcat "esc + ."which expands tocat /foo/bar/this_is_the_file.txt parent snug 5 years ago
ls /foo/bar/this_is_the_file.txt
cat "esc + ."
which expands to
cat /foo/bar/this_is_the_file.txt