lecture2 - Navigation File Handling Users & Permissions...

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

View Full Document Right Arrow Icon
Navigation File Handling Users & Permissions Exercises Lecture 2: Getting Around CS2042 - UNIX Tools October 1, 2008 Lecture 2: Getting Around
Background image of page 1

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

View Full DocumentRight Arrow Icon
Navigation File Handling Users & Permissions Exercises Introduction to Your Shell Changing Directories Lecture Outline 1 Navigation Introduction to Your Shell Changing Directories 2 File Handling Creation Deletion Copying, Moving, and Renaming 3 Users & Permissions Users and Groups File Permissions 4 Exercises Lecture 2: Getting Around
Background image of page 2
Navigation File Handling Users & Permissions Exercises Introduction to Your Shell Changing Directories First Things First. .. Learn to love this view! Graphical User Interfaces (GUIs) aren’t standardized Lecture 2: Getting Around
Background image of page 3

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

View Full DocumentRight Arrow Icon
Navigation File Handling Users & Permissions Exercises Introduction to Your Shell Changing Directories Your Most Important Command You just saw a new command - how do you figure out what it does? The man Command man < command name > Brings up the manual page (manpage) for the selected command Unlike Google results, manpages are system-specific Gives a pretty comprehensive list of all possible options/parameters Use / < keyword > to perform a keyword search in a manpage The n-key jumps to successive search results Lecture 2: Getting Around
Background image of page 4
Navigation File Handling Users & Permissions Exercises Introduction to Your Shell Changing Directories Your Second-Best Friend Google can be the easiest reference for more general usage questions For example, searching for ”remove non-full directory linux” may be faster than searching all of the options in the rm manpage Lecture 2: Getting Around
Background image of page 5

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

View Full DocumentRight Arrow Icon
Navigation File Handling Users & Permissions Exercises Introduction to Your Shell Changing Directories Lecture Outline 1 Navigation Introduction to Your Shell Changing Directories 2 File Handling Creation Deletion Copying, Moving, and Renaming 3 Users & Permissions Users and Groups File Permissions 4 Exercises Lecture 2: Getting Around
Background image of page 6
Navigation File Handling Users & Permissions Exercises Introduction to Your Shell Changing Directories But Where Are We? Many shells will use the current path in their prompt. If not. .. Print Working Directory pwd Prints the full path to the current directory Handy on minimalist systems when you get lost Lecture 2: Getting Around
Background image of page 7

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

View Full DocumentRight Arrow Icon
Navigation File Handling Users & Permissions Exercises Introduction to Your Shell Changing Directories Where Can We Go? Before we can change directories, we need to know what options we have. The ls Command ls [options] [file] Lists directory contents (including subdirectories!) Works like the dir command from DOS The -l option lists detailed file/directory information - we’ll use this later! Lecture 2: Getting Around
Background image of page 8
Navigation File Handling Users & Permissions Exercises Introduction to Your Shell Changing Directories Getting There Change Directory cd [dirname] Changes directories to [dirname] If not given a destination, defaults to the current user’s home directory Same command used in DOS Can be given either an absolute path or a relative path to the destination directory Lecture 2: Getting Around
Background image of page 9

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

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

Page1 / 30

lecture2 - Navigation File Handling Users &amp; Permissions...

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

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