Page provided by Perpetual PC's

Valid XHTML 1.0!


Linux Command Reference Index ( GNU / linux kernel 2.4.18-3, 2.4.18-14 and 2.4.20-6 )   
Linux is a registered trademark of Linus Torvalds

These are just a few of the most common GNU / Linux commands that you may find yourself looking for, along with some answers to common questions about running Linux.
On most systems more information about a command can be found by typing [ man command ] ; man being the word man and command being the particular command you are checking.

You will need to be root to use some of these commands ; also be sure to check your path. If there is no path to the command then you will likely get a " command not found " error. Check the command to be sure you have typed it correctly. Be extremely careful as root , you can make your system unusable. This is very important to understand. If you are using a dual boot system you may not be able to access either system if you make a mistake as root and your system is not bootable. Before you type any command as root be absolutely certain of what you are doing. Any comments are encouraged and welcome at    dave@perpetualpc.net


page last modified   2005-02-22


 Commands

alias  Create your own name for a command
bc  Command line calculator
bunzip2  Unzip .bz2 files
cat  Concatenate a file print it to the screen
chgrp  Change the group designation of a file
chmod  Change file permissions
chown  Change the owner of a file
comm  Compare two sorted files
cooked  Formatting the display of text in a terminal
cp  Copy command
date  Display date and time
dc  Command line calculator
df  Show amount of disk space free
diff  Determine difference between two files
diff3  Determine difference between 3 files
du  Show disk useage
env  Dislay the path
eject  Eject media from device ( command line )
factor  Display prime factors of a number
fdisk  The fdisk command with usage examples
find  Find a file
free  Display free memory
grep  Search for a pattern using regular expression
gunzip  Unzip .gz files
hdparm  Get/set harddisk parameters
history  Display entire command history
HISTSIZE  Change history size
httpd  Start Apache
ifconfig  Display network and hardware addresses
locate  Locate a file
ls  List directory contents
lsmod  List loaded kernel modules
man  Display a particular manual entry
mkfs  Make a filesystem on a drive
mount  Mount a filesystem/device

 
 

netstat  Display verbose info about network processes and ports
nice  Run a command with modified priority
pr  Format for printing
ps  Processes running
pwd  Print Working Directory
resize  Xterm window size
rpm  rpm command options
set gid  Set group id
set serial  Get / set Linux serial port info
set uid  Set user id
sfdisk  Modified fdisk program
sftp  Secure file transfer protocol (ftp)
shred  Safely remove data from disk drive
sort  Sort lines of a text file
ssh  Secure shell connection command
stty raw  Unformatted output to terminal
su  Become super user ( root )
top  Display processes running
touch  Change file timestamps
tree  Display file tree
tty  Print name of terminal connected to standard output
umask  File creation mask / Bash builtins
uname  Print system information ( kernel version )
uniq  Remove duplicate lines from sorted file
updatedb  Update the slocate database
unset gid  Group id change
unset uid  User id change
untar  Unarchive ( untar ) a file
unzip  Unzip .zip files
useradd  Add new user
wc  Word count of a file
whereis  Locate a command or file
which  Find command path
xinit  Start Xserver
xrandr  Change resolution running Xwindows ( command line )


References and answers to questions about running Linux



Copyright (c) 2002 David Tarsi. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being no invariant sections, with the Front-Cover Texts being no Front-Cover Texts, and with the Back-Cover Texts being no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
GNU Free Documentation License


Perpetual PC's home page
Perpetual PC's link page