Linux Quick Reference Sheet


Interpreters
DOS Linux Description
command.com sh Simplistic command interpreter
n/a bash Advanced command interpreter
n/a perl Interpreter for perl scripts
n/a awk Interpreter for awk scripts
n/a chsh Change shell

Directory Management
DOS Linux Description
dir ls -l Long format directory
dir /w ls Wide format directory
cd cd Change directory
rmdir rd Remove a directory
mkdir md Make a directory
deltree /Y rm -rf Recursively delete a directory tree
n/a pwd Dispay the current working directory

File Management
DOS Linux Description
copy cp Copy a file
move mv Move a file
touch touch Set the timestamp on a file
del rm -f Delete a file
type cat Print a file to the screen
n/a chown Change ownership of a file
n/a chgrp Change group ownership of a file
attrib chmod Change access permissions of a file
rawrite dd Write directly to a device
subst? ln Create a link to a file

Searching and Sorting
DOS Linux Description
find grep Search for a string in a text file
dir /s find Search for a file
n/a locate Search for a file via a database
n/a updatedb Create searchable database of files
sort sort Sort a file

Disk Management
DOS Linux Description
fdisk fdisk Modify the partition table
format mke2fs Create a filesystem on a partition
format fdformat Format a floppy disk
chkdsk e2fsck Test a filesystem for errors
n/a swapon Turn on a swap partition
n/a swapoff Turn off a swap partition
n/a mount Attach a filesystem to the root filesystem
n/a umount Detach a filesystem from the root filesystem
chkdsk df View amount of disk space available
dir/s du View amount of disk space used by a directory recursively

Help
DOS Linux Description
help man Get help on a command
n/a apropos Get help on a general topic
n/a whatis Search the whatis database
n/a makewhatis Make the whatis database
n/a file Classify a file

Editing and Printing
DOS Linux Description
edit pico Editor for novices
n/a vi Editor for advanced users
print lpr Print a file
n/a sed Stream editor
n/a joe Wordstar compatible editor
n/a emacs Programming environment and editor
edlin
ed non-visual editor

Backup, Compression, and Archival
DOS Linux Description
pkzip zip create a zip file
pkunzip unzip extract files from a zip file
n/a gzip Compress or decompress files via GNU zip
n/a tar Tape archiver
n/a compress Lempel-Ziv compression program
n/a uncompress Uncompress compressed files
n/a cpio Copy files to and from archives
n/a rpm Red Hat package manager

Mail and News
DOS Linux Description
n/a elm E-mail reader
n/a pine E-mail and news reader
n/a tin News reader
n/a trn Threaded news reader
n/a slrn Threaded news reader with macro support
n/a inn News sever

Console, Keyboard, and Mouse
DOS Linux Description
mouse gpm Mouse server
mode kbdrate Set the keyboard repeat rate
mode kbd_mode Set or query the keyboard mode
mode reset Reset the keyboard and screen to default modes
mode SVGATextMode Set the screen to a different resolution
mode stty Set/display terminal settings

Networking
DOS Linux Description
n/a telnet Interact with another host
n/a rlogin Remote login
n/a ftp Get/send remote files
n/a ncftp Fancier version of ftp
n/a irc Internet Relay Chat client
n/a netstat Show networking statistics
n/a route Show routing information
n/a ping Test a remote system's response time
n/a traceroute Display the route to a remost system

Time and Date
DOS Linux Description
time date Set/display time of day
date date Set/display date
n/a rdate Query a remote host for the date

Process Management
DOS Linux Description
mem/c ps Display list of running processes
n/a kill Terminate a process
n/a killall Kill processes by name
n/a jobs Display current jobs
n/a fg Move a job to the foreground
n/a bg Move a job to the background
n/a nice Run a program with modified scheduling priority
n/a top Display top CPU processes


Back to my home page.

Send me e-mail.
Last modified: Fri Aug 8 22:05:17 EDT 1997