Megapipe Communications

Basic UNIX Commands

The following is a skeleton list of basic UNIX shell commands.

UNIX Command

Description

DOS Equivalent(s)

cp

Copy a file from one place to another

copy

kill

Kill a process.

How to use:

Use the ps command to find a process. In BSD or Linux, try ps aux. Then, copy the process ID (pid) and type kill [pid]. If that doesn't work, try kill -9 [pid]. (The parameter -9 will force the process to die no matter what.)

(Slightly comparable to hitting Alt+Ctrl+Del)

ls

List the contents of the current directory

dir

man

man will call up a manual on a specified command.

Syntax: man [command]

help

mkdir

Make a new directory.

Syntax: mkdir [name]

mkdir

mv

Move a file or directory from one place to another

Syntax: mv [source] [destination]

move

ps

List processes. Can be used to view system processes and user processes.

None in DOS; in Windows NT, 2000, and XP, hitting Alt+Ctrl+Del is comparable.

rm

Remove a file.

del

rmdir

Remove an empty directory.

Note

Use "rm -r [directory]" to remove a directory with files in it.

del

whois

Get information on a domain.

Example

whois megapipe.net

n/a

Home | Destinations | HelpWeb | Terms of Service | Get Connected | Webhosting | Contact Us | WebMail