Ubuntu Cool Tricks


I have mentioned some useful ubuntu commands which can be used widely.

Download a website

If you want to download any website, then you can do it without using third party applications. You can download website by a single command.

wget -r -p -k -E http://www.example.com/dir/


Login as root


To get root access while login, carry out the following steps :-




  • First login from local user account.

  • Now go to terminal and type sudo passwd root

  • Now you will be prompted to enter new unix root password.

  • Now logout from local account.

  • Select Others from the User account menu.

  • Enter username as root and when it prompts for password, enter new password which you entered in step 3.


That's it. You will be logged in as root.

Minimize to Desktop

If you want to minimize to desktop, then try out ctrl+alt+d or win+d.

Play videos in RAR file without extracting

Just type in command line

unrar p -inul /path/to/movie_folder/movie.name.r00 | vlc -


Video will start playing from your vlc player in just a few seconds.

You can use other players instead of VLC if you wish.