QUICK INTRO TO UNIX

QUICK INTRO TO UNIX - QUICK INTRO TO UNIX This page...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: QUICK INTRO TO UNIX This page contains a summary of the most important Unix commands. We will discuss each one of them in detail, during lecture. REMINDER: Unix is "case-sensitive". Therefore, if the command you want is "cd", then you must type "cd", not "CD". NOTE: File names and directory names can be anything, so you can use whatever capitalization you want. NOTE: Beginning students often try to put "spaces" in their file names or directory names. Do not do that! Although there's a way for advanced users to insert "spaces" in their file and directory names, beginners should try to avoid that, because it can mess up the Unix commands. NOTE: file names and directory names can be specified by "relative paths" or "absolute paths". We'll discuss this in class. IMPORTANT COMMANDS ls---- list contents of current directory ls DIRNAME---- list contents of directory whose name is specified cp FILENAME1 FILENAME2---- copy filename1, call copy "filename2" mv FILENAME1 FILENAME2---- rename filename1, to filename2 mv FILENAME DIRNAME---- move the file into the directory rm FILENAME---- remove ("delete") the file cd DIRNAME---- change your current directory to the one specified cd---- teleport directly to your account's "home directory" cd ..---- climb into your current directory's parent directory mkdir DIRNAME---- create a new directory ("folder") rmdir DIRNAME...
View Full Document

This note was uploaded on 08/17/2011 for the course CS 107 taught by Professor Ivanbajic during the Fall '08 term at San Diego.

Page1 / 4

QUICK INTRO TO UNIX - QUICK INTRO TO UNIX This page...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online