Terminal question

Nice to see someone using the terminal the proper way!

Edit your ~/.bashrc file and add this line to it:

alias open='xdg-open >/dev/null 2>&1'

Close and open your terminal. Then you can just:

open file.pdf

And it will be the same as opening it with your file manager of choice.