Test how many modules are available in Apache2

Sometimes we need to know how many modules are available in Apache2,for example,you want to enable mod_rewrite in Linux server,normally we need to test if the mod_rewrite module has been added first.We can use command:apache2ctl -M to test how many modules are available in Apache2.

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

Tip-redirecting with sudo command

If you directly use sudo command to redirect  ,you will probably get error,eg:

sudo route -n> /etc/linuxine

you will get error:

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

How to copy disc content to iso file

tipsVery easy ,just open your Termial and  type :

cp  /dev/cdrom filename.iso

//filename = your filename

then,press [ENTER]

The iso file will be saved in your home folder.

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

How to use Wget to download a file needs password for downloading

tipsYou know, wget is a essential download tool in command line mode.But how to use wget to download a file which requires  password before downloading?Actually,it is not difficult,the key is we must use "-user" and "-password"these 2 options.please see following sample :

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

Ubuntu tips-use "Ctrl-H" shortcut to show hidden files

tipsBy default , Nautilus file browser is not displayed hidden files. We are familiar with  the  window of the way to show the hidden files. Do we have more convenient way?

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License