Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Linux Ask!

Nov 292010
 

How to simulate curl using wget command?

Answer:

To simulate a simple curl command using wget, e.g. curl http://www.google.co.uk:

# wget -O- http://www.google.co.uk

To view the HTTP response header (i.e. more verbose), e.g. curl -v http://www.google.co.uk:

# wget -O- -S http://www.google.co.uk

Nov 252010
 

How to get the full list of Ubuntu's managed Perl modules?

Answer:

The full list of Ubuntu's managed Perl modules is here (for lucid): http://packages.ubuntu.com/lucid/perl/

You can use apt-get into install those modules, instead of CPAN. The advantage is you can remove them easier with the apt-get command, while for CPAN, you need to do it manually.