Difference between revisions of "CLI Navigating"
Jump to navigation
Jump to search
(→Quiz) |
|||
Line 9: | Line 9: | ||
~ = your home directory | ~ = your home directory | ||
- = the last directory you were in (not used in paths) | - = the last directory you were in (not used in paths) | ||
+ | |||
+ | == Examples == | ||
== Quiz == | == Quiz == | ||
Line 17: | Line 19: | ||
# How would you list the contents of your parent directory? | # How would you list the contents of your parent directory? | ||
# Show a relative path that starts in your home directory and specifies the /etc/init.d/ directory. | # Show a relative path that starts in your home directory and specifies the /etc/init.d/ directory. | ||
+ | |||
+ | == Instructor Notes == | ||
+ | This class needs examples; 2 or 3. | ||
[[Category:CLI Quizes]] | [[Category:CLI Quizes]] | ||
[[Category:Classes]] | [[Category:Classes]] |
Revision as of 11:56, 19 April 2008
Commands
cd = change directory ls = list directory contents pwd = print the working directory
Abbreviations
/ = the root directory .. = the parent directory ~ = your home directory - = the last directory you were in (not used in paths)
Examples
Quiz
- How would you change to the root directory?
- How would you change to the Desktop directory within your home directory?
- How would you change back to your home directory?
- How would you confirm where you are?
- How would you list the contents of your parent directory?
- Show a relative path that starts in your home directory and specifies the /etc/init.d/ directory.
Instructor Notes
This class needs examples; 2 or 3.