Wired

Webmonkey

  • Web Dev & Design
    • Ajax
    • Backend
    • Blog Publishing
    • CSS
    • Databases
    • Fonts
    • Frameworks
    • HTML
    • HTML 5
    • JavaScript
    • Mobile
    • Multimedia
    • Programming
    • Security
    • UI/UX
    • Web Standards
  • Software & Apps
    • Browsers
    • Software
    • Web Apps
  • Platform & APIs
    • APIs
    • Identity
    • Location
    • Social
    • Web Services
  • Reference
    • Color Charts
    • HTML Cheat Sheets
    • Special Characters
    • Glossary
    • Templates
    • Code Snippets
  • twitter
  • facebook
  • RSS Feeds
Feb 3 2010
File Under: Cheat Sheets

Unix Guide

  • By Webmonkey Staff

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.

Tags: wiki cheatsheet unix guide
  • Post Comment  | 
  • Permalink
  • Digg
  • Stumble Upon
  • Facebook
  • Delicious
  • Reddit
  • sovm
    Cool :)
  • Irfan Suleman Chohdry
    thanks :)
  • chatroulette
    i think chatroulette, wonderfull webcam chat rooms. flash web chat powered the sites. chatroullete froms turkey.
  • Body Armor
    Yea finally something for free LOL!
  • Body Armor
    AWESUM cheatsheet, lol!
  • zayiflama
    Thanks For Teh color Chart... =]
  • çilingir
    thanks


    www.maviadres.com
blog comments powered by Disqus

Webmonkey’s Picks

Browse Our Tutorials

HTML, JavaScript, design and more

Cheat Sheets

HTML, CSS and special characters

Color Charts

Brighten up your pages

Cut & Paste Code

Templates and snippets you can steal

Recent Comments

  • WebHosting Guru on Chrome 6 Arrives, Just in Time for Cake
  • WebHosting Guru on Yahoo Users Can Now Open a Google Account With OpenID
  • WebHosting Guru on Page Speed Add-on Headed to Chrome
  • Scott Gilbertson on How to Speed Up Your Site With YSlow and Page Speed
  • digiturk on Mozilla’s Popcorn Project Adds Extra Flavor to Web Video
  • Recent Articles

  • Page Speed Add-on Headed to Chrome
  • Firefox 4 Beta 5 Adds Audio Tools, Hardware Acceleration
  • Google Shows Off Its Bouncy Balls
  • TinySrc Shrinks Your Images for Mobile Browsers
  • Yahoo Users Can Now Open a Google Account With OpenID
  • Corrections | Sitemap | FAQ | Contact Us | Wired Staff | Advertising | Press Center | Subscription Services | Newsletter | RSS Feeds
    Condé Nast Web Sites:
    Webmonkey | Reddit | ArsTechnica | Details | Golf Digest | GQ | New Yorker

    Registration on or use of this site constitutes acceptance of our User Agreement (Revised 4/1/2009) and Privacy Policy (Revised 4/1/2009).

    Wired.com © 2010 Condé Nast Digital. All rights reserved.

    The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Condé Nast Digital.