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
 

Gigabot

OSNN Senior Addict
Joined
12 Dec 2008
Messages
405
Here are some helpful download commands:

1. Start a download at any given time: echo 'wget -c www.example.com/files.iso' | at 09:00

2. Start a download with ability to stop download and resume later: wget -c www.example.com/file.iso

3. Download an entire website: wget -r www.example.com

I found these at http://www.linuxcmd.org. They have an entire database of commands that you can lookup over there! :)
 

Members online

No members online now.

Latest profile posts

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!
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!

Forum statistics

Threads
61,997
Messages
673,411
Members
5,590
Latest member
AntonioPR