Linux-User message #5 from Janis Kracht to All. Entered on 19th October, 1999 at 16:19, 142 lines. There are replies to this message. Subject: Linux Tips 001 ======================= I'll try to post these kinds of tidbits now and then. Comments, questions, suggestions welcome ;) Commands for linux listed below have many, many options. To see the options, type cmd --help, or man cmd where cmd is one of those listed in the linux column below. If you're REALLY new to linux, this info might help you get your bearings: ============================================================================== 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 rm rmdir Remove a directory md mkdir 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 Aliases You can enter these in your /etc/profile to make them global or ~/.bash_profile to make them local. alias del='rm' alias copy='cp' alias move='mv' alias ren='mv' alias type='cat' alias rd='rmdir' alias md='mkdir' alias help='man' Take care, Janis (jkracht@aye.net)