Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

Unix Guide

/skill level/
/viewed/
0 Times


Unless you have a Unix machine sitting on your desktop, you're probably accessing it through telnet or a command-line shell. This interface may be a little intimidating to new users who are usually a tad more comfortable with a point-and-click interface. But it's really not as hard as it looks.

This reference sheet gives you the basic commands you'll need, focusing especially on file management. You can also learn how to combine commands and become a real power user. If you need more help getting started, take a look at Pam's excellent introduction entitled Learn Enough Unix for Your Resume. Between that article and this guide, you'll be on your way to becoming a Unix master. Soon you'll be wondering how you got along without it.

cat
Prints files to input, or reads and returns input.

cd
Changes directories, allows movement through the directory structure.

chmod
Changes permissions on a file or directory

chown
Changes ownership of files and directories

cp
Copies files.

date
Displays or sets the current date and time.

diff
Shows differences between files.

exit
Ends a process, and returns to the parent process.

find
Searches for files.

finger
Looks up user information.

grep
Look for lines which match a given string or regular expression.

head
Prints the first few lines of a file.

kill
Terminates a process by PID.

less
Displays the content of a file.

lprm
Removes printer queue requests.

ls
Lists files in a directory.

man
Displays the manual page for a program.

mkdir
Creates directories.

more
Prints the contents of files.

mv
Moves or renames files.

passwd
Creates or changes passwords.

ps
Gives a list of all active processes, along with other information.

pwd
Prints the current directory.

rlogin
Logs into remote systems

rm
Removes files.

rmdir
Removes empty directories.

su
Logs in as another user.

tail
Prints the last few lines of a file.

telnet
Communicates with other hosts via the telnet protocol.

who
Gives a list of logged in users.

  • This page was last modified 22:41, 11 August 2008.
Edit this article
Reddit Digg
 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year