User Tools

Site Tools


directories

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
directories [2018/08/30 10:33]
dokuroot
directories [2018/08/30 10:39] (current)
dokuroot
Line 9: Line 9:
 **Useful UNIX commands for the exercises below **(see unix_commands.pdf for a more complete list)**:** **Useful UNIX commands for the exercises below **(see unix_commands.pdf for a more complete list)**:**
  
-  * To create a new directory use **mkdir**.+  * To create a new directory use ''​mkdir''​.
     ​     ​
   * To change directories use ''​cd''​.   * To change directories use ''​cd''​.
Line 42: Line 42:
   $ mkdir FortCollins   $ mkdir FortCollins
  
-**3.** Change into ''​FortCollins''​ using **cd**:+**3.** Change into ''​FortCollins''​ using ''​cd''​:
  
   $ cd FortCollins   $ cd FortCollins
Line 68: Line 68:
   $ cd   $ cd
  
-**9.** List the contents of food.txt from your home directory:+**9.** List the contents of ''​food.txt'' ​from your home directory:
  
   $ ls /path to Likes   $ ls /path to Likes
  
-**10.** Change into the Likes directory:+**10.** Change into the ''​Likes'' ​directory:
  
   $ cd /path to Likes   $ cd /path to Likes
Line 92: Line 92:
   $ echo least favorite place to each >>​food.txt   $ echo least favorite place to each >>​food.txt
  
-**15.** In one line change into the ''​Likes''​ directory:+**15.** Using only one command ​change into the ''​Likes''​ directory:
  
   $ cd ../Likes   $ cd ../Likes
Line 100: Line 100:
 ====★ Independent Exercise ==== ====★ Independent Exercise ====
  
-During the exercise, practice using **ctrl+a** to go the beginning of a line, **ctrl+e** to go the end of a line, and **ctrl+u** to delete text. Examine the contents of the directory you make from both the command line and the Finder GUI. +During the exercise, practice using ''​ctrl+a'' ​to go the beginning of a line, ''​ctrl+e'' ​to go the end of a line, and ''​ctrl+u'' ​to delete text. Examine the contents of the directory you make from both the command line and the Finder GUI. 
  
 **1.** Change into your ''​home''​ directory and make a new directory called ''​One''​. **1.** Change into your ''​home''​ directory and make a new directory called ''​One''​.
Line 119: Line 119:
  
 \\ \\
- 
directories.1535646822.txt.gz · Last modified: 2018/08/30 10:33 by dokuroot