Kunaljain's Weblog

February 4, 2008

Useful Commands

Filed under: Linux Tips & Tricks — Kunal Jain @ 18:09

To display CPU Information

    $cat /proc/cpuinfo

Display Free and used Memory Information

    $free -m

Display partition information

    #fdisk -l

Display file system disk space usage

    #df -H


    #df -h

Estimate file space usage


List PCI devices


List USB devices


Display list of all open ports

    #netstat -tulpn

How to find if processor is 64 bit/32 bit in Linux

    $getconf LONG_BIT

To print the machine hardware

    $uname -m

Restarting sshd

    #/sbin/service sshd start


  1. hi hello i was very happy to see this a lots of good imfermations are available. so thanks then send me more to my mail ID also my ID is : sysmandosys@yahoo.co.in

    Comment by aswath — July 6, 2008 @ 05:25 | Reply

  2. Thanks Kunal.

    Comment by Amit — December 25, 2008 @ 16:39 | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: