Useful Commands for linux

binoyxj

PrOuD InDiAn
Joined
4 May 2008
Messages
475
Here are some of the commands used in linux to get various info.I am writing down some which i remember now and rest i shall put up soon.Members can also put forward other useful commands.

To install a RPM file:# rpm -ivh file-name.rpm

To get info about the RPM file:# rpm -qip file-name.rpm

To install Telnet on RHEL:# yum install telnet

To display processor number:# grep -c processor /proc/cpuinfo

Checking available free memory:# free -m

To list partitions:# fdisk -l

Linux kernal information:# uname -a
 
Last edited by a moderator:

binoyxj

PrOuD InDiAn
Joined
4 May 2008
Messages
475
Delete all partition and to create new:# fdisk /dev/sda

History of all commands used:# history

Formatting VFAT/FAT32 file system:# mkdfs.vfat /dev/sda1
 

Members online

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
62,000
Messages
673,425
Members
5,593
Latest member
moussa021