Command-Line Commands

Each time "(command)" or "(name)" appears, substitute in whatever command or name is of interest. For example when trying to get help with what switches are availible for the uname command, (command) --help becomes uname --help

General Sytem and Help

xkill - Kills a running program
exit - Exits the terminal
reboot - Reboots the system
halt - Shutsdown the computer
startx - Starts xwindows from terminal
man - man (command) shows help files
info - info (command) shows help files
(command) --help - (command) --help shows help files
su - Allow you to login as Super User

File Commands

ls - "Lists" the contents of the directory (more detail)
pwd - Displays "present working directory" (more detail)
cd - cd (name) change directory TO name) (more detail)
mkdir - mkdir (name) Makes new directory (more detail)
rmdir - rmdir (name) Removes directory
clear - Clears the terminal window

Information Commands

date - Displays current date and time
cal - Displays a calander
uptime - Displays time since last reboot
df - Displays the disk usage on partitions
du - Displays disk usage of directory

User Management

id - Displays your identification to system
groups - Displays groups of current user
ulimit -a - Displays users limits
uname - Displays name of machine logged into
who - Displays "who" is logged on the system
w - Similar to "who"

Other

wall - Sends message to all logged in users
top - Displays cpu processes memory etc
ps - Displays current running processes



Managing RPMs in Mandrake and RedHat

Check if installed already
rpm -q

To Install the rpm
rpm -ih

To Update a program using an rpm
rpm -Uvh



Bored? try this:


apropos fileList tons of file commands



Many of the commands listed above have options that can be added to change the output of that command. To see what they are, type:
man (command)
and it will show you the options.

-author crouse (usalug) who really likes Google.