Useful Commands for linux

binoyxj

PrOuD InDiAn
Joined
May 4, 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
May 4, 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 posts

Latest profile posts

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 comming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier, mine is perriscalderon at gmail
Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...

Forum statistics

Threads
61,976
Messages
673,272
Members
89,046
Latest member
osnnforumtime