Five Linux Cool Tricks (for fun)
1. Download a website:Here is a simple way toward download a whole website without actually visiting all the pages. First up all go into the directory you wish toward download the whole website using the command line furthermore type in the following
wget-r-p-k-E http://www.example.com/dir/
Note -E is toward create .html extensions toward XHTML or text files. Omit if not needed.It is however not possible beneficial to all type regarding sites
2. Five ways toward logout from bash
1.logout
2.exit
3.CTRL+d
4.export TMOUT=1
5 kill -9 $
Don't use the fifth one when you are the root since it will kill some essential processes.
3. To change the root password:
The first step is toward reboot the system. When grub loads up, move the arrow key up/down toward highlight furthermore select the Linux kernel furthermore press e toward edit the GRUB commands before booting. Next, move the arrow key up/down furthermore select the Linux kernel furthermore press e again. Give a single space furthermore then type the word ‘single’ at the end regarding the line. Hit ENTER key. Then press b toward boot up with the single keyword, which will boot Linux into single user maintenance mode. Now you will get a command prompt ready toward accept your commands.Voila!!!! you are done. Now just enter the ‘passwd’ comand toward reset your password (without prompting beneficial to the older one). Reboot furthermore you are now the ROOT.However this is not working in all linux distros.
4. 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 regarding VLC if you wish.
5. Text based browsing:
You may use elinks or links in text mode toward browse websites from a console. Here’s how toward get started
elinks http://www.google.com/This will open up our site in your browser. haven't tried anyone regarding them..!
-->