Some useful commands through Linux command line – II

Some useful commands through Linux command line – II

Guys We already seen some command line Linux commands,We discuss some other useful commands.



acpi(Advanced Configuration and Power Interface) shows information the as battery status or thermal information of the Linux systems.


after installing acpi we can use following command.

# acpi -V
No support for device type: power_supply
No support for device type: power_supply
Thermal 0: ok, 60.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 255.0 degrees C
Cooling 0: Processor 0 of 10
Cooling 1: Processor 0 of 10

Google Search in Linux command prompt

root@TTS#Q=”Linux”; GOOG_URL=””; AGENT=”Mozilla/20.0″; stream=$(curl -A “$AGENT” -skLm 10 “${GOOG_URL}\”${Q/\ /+}\”” | grep -oP ‘\/url\?q=.+?&amp’ | sed ‘s/\/url?q=//;s/&amp//’); echo -e “${stream//\%/\x}”

Note – retype the (“) double quotes as  per your system. then only this command will work.

Output :

It will show Google search link results


AXEL command

Axel is used download a file from FTP or HTTP server through multiple connection, each connection downloads its own part of the file, Axel downloads all the data directly to the destination file, using one single thread. It just saves time at the end because the program doesn’t have to concatenate all the downloaded parts.

Installing axel command

yum install axel*
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package axel.i686 0:2.4-4.fc13 set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size

axel i686 2.4-4.fc13 fedora 53 k

Transaction Summary

Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 53 k
Installed size: 111 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 53 k
axel-2.4-4.fc13.i686.rpm | 53 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : axel-2.4-4.fc13.i686 1/1

axel.i686 0:2.4-4.fc13



# axel -n 10

Initializing download:

WGET Test Results: 1.50 Mb/s HTTP: 1.31 Mb/s FTP: 282.5 Kb/s

AXEL Test Results: -n 10: 2.57 Mb/s http -n 10: 2.24 Mb/s 4 ftp mirrors: 561.80 Kb/s

comparison: Increase of 1.08 Mb/s = 72% Increased http: Increase of 962.56 Kb/s = 72% Increased FTP: Increase of 279.30 Kb/s = 99% Increased


Leave a Reply

Your email address will not be published. Required fields are marked *