DOC PREVIEW
DREXEL CS 265 - A Brief Overview of Unix

This preview shows page 1-2-3-4 out of 12 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

A Brief Overview of UnixOnline DocumentationThe Emacs EditorSlide 4The vi editorvi continuedsed editorFile System CommandsStructure of DirectoriesPermissionsConclusionSourcesA Brief Overview of UnixZachary ThackerOnline DocumentationThe “man” commandman viman emacsman moreetcThe Emacs Editor•Modes▫Major▫Minor•Buffer and Window•Point and Mark•Kill and Yank commands•Ctrl and Meta keysThe vi editor•“Standard” editor for Unix•Several versions and iterations exist▫vim (vi improved)▫nvi▫elvis•Based on and relies heavily on features and commands of the older “ex” editor•Starting a vi session:▫vi [options] file – begins editing file▫vi [options] +num file – begins editing file at line num▫vi [options] +/pattern file - begins editing file at line matching patternvi continued•Modes:▫Command Mode – default mode, issue editing commands and enter insert mode▫Insert Mode – editing mode, entered with the i command•Maneuvering the cursor is done with arrow keys or h, j, k, l keys▫H – left▫J – down▫K – up▫L - rightsed editor•Stands for “stream editor”•Used for making quick or repetitive edits to more than one file•Uses scripts instead of direct inputFile System Commands•ls – list names of all files in current directory▫Various modifiers, such as –t to sort by time•cp file1 file2 – copies file1 to file2•mv file1 file2 – moves from file1 to file2, does not make a copy•rm filenames – remove filenamesStructure of Directories•root directory – has no parent directory•File pathname - /home/zpt23/CS265/file.txt•“..” represents parent of current directory•“.” represents current directory•Commands:▫pwd –displays pathname of current directory▫cd – changes current directory, changes to root if no argument given▫mkdir name – creates a directory called name in the current directoryPermissions•Owner, Owner Group, and Everyone Else•Read, write, execute permissions for files•Different for directories…▫Read – permission to view contents of directory, for example using the ls command▫Write – permission to create/remove file from directory▫Execute – permission to cd into that directoryConclusion•UNIX is an operating system•Uses various commands and utilities that coexist•Useful for multiuser and multitasking operationsSourcesRobbins, Arnold.LUnix in a Nutshell, Fourth Edition. North Mankato: O'Reilly Media, Inc., 2005. Print."Understanding UNIX permissions and chmod."LPerlfect Solutions. Web. 27 Sept. 2009.


View Full Document

DREXEL CS 265 - A Brief Overview of Unix

Download A Brief Overview of Unix
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view A Brief Overview of Unix and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view A Brief Overview of Unix 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?