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

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
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.

Forum statistics

Threads
62,013
Messages
673,480
Members
5,608
Latest member
endryshall