Friday, February 17, 2012

Tips: Easy way to navigate to a file in Ubuntu

Sometimes when we need to navigate to a folder or even open a file in Terminal to perform some functions. It is easy after you get used to Linux.

But in the beginning it will be a bit difficult to navigate around.

You can follow the steps given below to navigate easily even if you don't know the exact path .

1. Open terminal by pressing Ctrl+Alt+T




2. Drag & Drop the file in the terminal and you are done !!!



Thursday, February 16, 2012

How to: Create Shortcut(Symbolic Link) for a file in Linux ?

Creating a shortcut in Windows is much easier where in Linux it MIGHT look tough but that's a big NO.

You can follow the steps below and you can create a shortcut in a jiffy.

1. Highlight the file that you want to create a shortcut for.


2. Press Ctrl+Shift keys together and drag & drop the file(s) in the location where you want to create the shortcut.

That's it you are done. It's easy just like Windows or OsX

Update:

I found the following commands later while going through the web as well.

Select the file or folder to which you want to create a shortcut.

Choose Edit --> Make Link (or) Ctrl+M


A link will be created which you can drop it to any folder.

Wednesday, February 15, 2012

How to: Run Terminal as Sudo or Root ?

If you want to run the terminal as sudo or root and want to save the trouble of entering the password everytime then follow the steps below.

Press Ctrl+Alt+T

Type in
sudo -s
You will be asked for the password once and only once. Once you are done with entering the password then as long as the terminal session is open it would still have sudo access.

Don't forget to exit from sudo session by entering exit once.