Starting files directly from the command line in Ubuntu
e.g. PDFs, HTML …
# Open files and folders directly from the command line # e.g. gnome-open README.PDF # which with this alias becomes: g README.PDF # This also works with folders # e.g. g . will open the current folder alias g='gnome-open'
either directly to the end of ~/.bashrc or preferably, create a new file called .bash_aliases and put it in there.