Archive for the tag 'query'

Query/enable (E)IDE 32-bit I/O support using hdparm

Check your current disk status.

hdparm -tT /dev/hda

-c Query/enable (E)IDE 32-bit I/O support. A numeric parameter can be used to enable/disable 32-bit I/O support: Currently sup-ported values include 0 to disable 32-bit I/O support, 1 to enable 32-bit data transfers, and 3 to enable 32-bit data trans-fers with a special sync sequence required by many chipsets.

The value 3 works with nearly all 32-bit IDE chipsets, but incurs slightly more overhead. Note that “32-bit” refers to data transfers across a PCI or VLB bus to

CPAN - query, download and build perl modules from CPAN sites

Interactive mode:

perl -MCPAN -e shell;

Batch mode:

use CPAN;
autobundle, clean, install, make, recompile, test

Example:


root@laptop:~# perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)

cpan[1]> test
CPAN: Storable loaded ok (v2.18)
CPAN: LWP::UserAgent loaded ok (v5.819)
CPAN: Time::HiRes loaded ok (v1.9711)

I would like to connect to one of the following sites to get ‘authors/01mailrc.txt.gz’:

http://www.perl.org/CPAN/
ftp://ftp.perl.org/pub/CPAN/

Is it OK to try to connect to the Internet? [yes]

Source: Man Page - http://theoryx5.uwinnipeg.ca/CPAN/perl/lib/CPAN.html