Test how many modules are available in Apache2

admin on September 7th, 2008 | File Under Linux Command Tips, Linux Server Tips, Linux Tips -

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. Read More »

No Comments Tags: , , , ,

Tip-redirecting with sudo command

admin on July 10th, 2008 | File Under Linux Command Tips, Linux Server Tips, Linux Tips -

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

sudo route -n> /etc/linuxine

you will get error: Read More »

1 Comment Tags: , ,

How to copy disc content to iso file

admin on July 4th, 2008 | File Under Linux Command Tips, Linux Tips -

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.

No Comments Tags: , ,

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

admin on June 26th, 2008 | File Under Linux Command Tips, Network -

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 :

$ wget –user=username –password=’password’ http://address/download/foo.mp3

username = your username, ‘password’ =’your password’ .

No Comments Tags: , ,

Ubuntu tips-use “Ctrl-H” shortcut to show hidden files

admin on June 15th, 2008 | File Under Linux Command Tips, Linux Tips, Ubuntu -
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? Yes,of course ,you can just use Ctrl-H shortcuts to show / hide the hidden,very handy.
No Comments Tags: ,