How to complete a filename in Bash


Press Alt+/.

And if you ever forget, run bind -p, and you’ll see:

"\e/": complete-filename

There it is.

Edit: and if anyone’s itching to ask if I’ve ever heard of the tab key, don’t come crying when you’re trying to unzip a file that doesn’t end in .zip.

My last post was about either Optimal doorstop slope or Highlight All in Firefox. Find out which.