background preloader

Shell

Facebook Twitter

Bash

Scripting. Sed. Sleep. Command-line Fu < The best UNIX commands on the web. Blog Archive » 10 Linux Shell Tricks You Don't Already Know. Gnome-open: Open Anything from the Command Line & Ubuntu Blo. Posted by Carthik in commands, gnome, guides, ubuntu. Trackback There is a command called gnome-open which I find very handy. I thought of sharing it with you, and was searching for documentation on it, and found none, neither on the web using google, nor on the system. No man page entry, or info entry. All the more reason I should document what I know about it. Simply put, the commandgnome-open opens the item specified by the url with the preferred GNOME app for that file/mime-type. In a sense, this command resembles the universal “open” command on Mac OSX. Read on for examples… Examples include: gnome-open google.com This will open the specified website in your preferred browser gnome-open mailto:someone@example.com This will start a new email to the specified address in your preferred mail client gnome-open .

Gnome-open . gnome-open star.pdf Will open star.pdf in Evince, or your preferred pdf reader gnome-open foo.txt Will open foo.txt in a text editor Like this: Like Loading... Advanced Bash-Scripting Guide. Linux Manual - Linux Command.