Difference between revisions of "CLI Navigating"

From FreekiWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Commands ==
 
== Commands ==
  cd = change directory
+
  cd = change directory
  ls = list directory contents
+
  ls = list directory contents
 +
pwd = print the working directory
  
== Abreviations ==
+
== Abbreviations ==
 
  /  = the root directory
 
  /  = the root directory
 
  .. = the parent directory
 
  .. = the parent directory
Line 11: Line 12:
 
== Quiz ==
 
== Quiz ==
 
# How would you change to the root directory?
 
# How would you change to the root directory?
## How would you change back to your home 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?
  
 
[[Category:CLI Quizes]]
 
[[Category:CLI Quizes]]
 
[[Category:Classes]]
 
[[Category:Classes]]

Revision as of 12:41, 8 March 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)

Quiz

  1. How would you change to the root directory?
  2. How would you change to the Desktop directory within your home directory?
  3. How would you change back to your home directory?
  4. How would you confirm where you are?
  5. How would you list the contents of your parent directory?