• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Useful Commands for linux

binoyxj

PrOuD InDiAn
#1
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
#2
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

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown