Here is a simple way to download a whole website without actually visiting all the pages. First up all go into the directory you wish to download the whole website using the command line and type in the following
wget-r-p-k-E http://www.example.com/dir/
Note -E is to create .html extensions to XHTML or text files. Omit if not needed.It is however not possible for all type of sites :-)
2. Five ways to logout from bash
1.logout
2.exit
3.CTRL+d
4.export TMOUT=1
5 kill -9 $
Dont use the fifth one when you are the root since it will kill some essential processes.
1.logout
2.exit
3.CTRL+d
4.export TMOUT=1
5 kill -9 $
Dont 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 to reboot the system. When grub loads up, move the arrow key up/down to highlight and select the Linux kernel and press e to edit the GRUB commands before booting.
The first step is to reboot the system. When grub loads up, move the arrow key up/down to highlight and select the Linux kernel and press e to edit the GRUB commands before booting.