unix-tutorial

unix-tutorial - CMSC 216 UNIX tutorial Fall 2010 Larry...

Info iconThis preview shows pages 1–3. 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: CMSC 216 UNIX tutorial Fall 2010 Larry Herman Jandelyn Plane Gwen Kaye August 28, 2010 Contents 1 Introduction 2 2 Getting started 3 2.1 Logging in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 Logging out, and account security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.3 Reauthenticating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 Printing files 4 4 Xming 4 5 The Emacs text editor 5 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 5.2 Cancel command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 5.3 Creating a file and entering text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 5.4 Editing a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 5.4.1 Basic cursor movement commands . . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.4.2 Basic commands for deleting text . . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.4.3 Deleting entire lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.4.4 Adding a line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.5 Saving a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 5.6 Quitting Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 5.7 Editing an existing file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 5.8 Syntax highlighting and automatic indentation . . . . . . . . . . . . . . . . . . . . . . . 8 5.9 Word wrap in Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 5.10 Table of basic Emacs commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 6 Directories and basic file commands 10 6.1 Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 6.2 Listing the files in the current directory . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 6.3 Constraints regarding filenames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 6.4 Creating a new directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 6.5 Changing directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1 6.6 Creating new files in the current directory . . . . . . . . . . . . . . . . . . . . . . . . . 12 6.7 Displaying files contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 6.8 Copying a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 6.9 Renaming (moving) a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6.10 Deleting (removing) a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6.11 Moving to a higher directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .....
View Full Document

This note was uploaded on 01/12/2012 for the course CMSC 106 taught by Professor Staff during the Fall '07 term at Maryland.

Page1 / 24

unix-tutorial - CMSC 216 UNIX tutorial Fall 2010 Larry...

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

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