Open everything with gnome-open

December 20th, 2006 toydi

In GUI environments, we open (almost) any data file with a double-click. The system will somehow magically, launch your preferred program and load the data file onto it for you. For those who prefer command line over mouse-clicking, GNOME provides a nice, simple command that does the job (thanks to Carthik’s discovery): ~$ gnome-open Usage: [...]

Posted in alias, gnome-open, Misc | Hits: 22381 | 4 Comments »

say yes to everything

October 23rd, 2006 mysurface

Sometimes some commands always like to ask you for comfirmation. Are you sure … (Y/n). Sometimes, that is irritating, especially when you do yum update. yum is package manager for Red Hat based linux, it usually takes a long time to get ready to download the update packages. Once yum is ready, it will ask [...]

Posted in Admin, alias, Misc, yes, yum | Hits: 25563 | 4 Comments »

Retrieve Back Command Been Enter

August 31st, 2006 liewsheng

Everytime you enter a command in shell. It will be store it a file for later use, so you can retrieve back the command later. History is use to show all the pass command you have enter in the shell, but history only shown a limited number which have been set in a configuration file: [...]

Posted in alias, history | Hits: 20773 | 1 Comment »

open multiple files in tabs, vim 7 can do that.

August 16th, 2006 mysurface

Remember last time when I open multiple files using vim, it will be loaded and store at the back buffer, in order to bring it to front, you need to first save your current file with :w then :bn for next :bp for previous. But seems vim 7 support tabs, I would like to open [...]

Posted in alias, Text Manipulation, vi, vim | Hits: 47606 | 12 Comments »