Is there a way to use the terminal to open things using the default program?
Like, a moment ago, I did an ls of a folder, and found the pdf document I wanted. It was then that I realized I didn't remember which program opens it, forcing me to navigate to it in a gui, and doubleclick it (I think). Google isn't bringing up and results for me on this one.
...surely there must be a simple command that opens a filetype using the default program, right?
Anybody have any ideas?
Thanks. Efficiency is everything, commandline is the way.