Let's say you have a PDF file in your home folder. You can use "xdg-open" to use the default application to open it, like this:
Code:
xdg-open ./monkey.pdf
If I try to just execute the PDF in the same fashion as an executable file, then I get this:
Code:
$ ./monkey.pdf
bash: ./monkey.pdf: Permission denied
I wonder...... if....... there's any way to configure the terminal so that it gives special treatment to non-exectuable files?? For instance, I want to be able to just type the following:
and have it behave as though I wrote:
Code:
xdg-open ./monkey.pdf
Any ideas?