From: Lynne Williams Date: Sun, 17 Feb 2013 15:30:47 +0000 (-0500) Subject: Update shell_cheatsheet.md X-Git-Url: http://git.tremily.us/?p=swc-modular-shell-hearing.git;a=commitdiff_plain;h=ed3e2f5a94505f65f986d63c79c0cb9f89bf1204 Update shell_cheatsheet.md --- diff --git a/shell_cheatsheet.md b/shell_cheatsheet.md index d88499f..cc4d8d1 100644 --- a/shell_cheatsheet.md +++ b/shell_cheatsheet.md @@ -2,13 +2,14 @@ *** ## 1. Shell Basics: -* **`.`** (a single period) --> refers to the current directory -* **`..`** (a double period) --> refers to the directory above the current directory -* **`~`** --> refers to your home directory. _Note:_ this command does NOT work on Windows machines (Mac and Linux are okay) -* **`*`** --> wildcard (multiple characters). `*.txt` will match all files in the current directory that end with `.txt` -* **`?`** --> wildcard (single character). `?.txt` will match `a.txt` and `b.txt`, but not `ab.txt` -* **`cd ./dirname`** --> changes the current directory to the directory `dirname` -* **`ls -F`** --> tells you what files and directories are in the current directory + +| Symbol | Definition | +|----------------|----------------------------------------------------------------------------------------------------------------| +| `.` | a single period refers to the current directory | +| `..` | a double period refers to the directory immediately above the current directory | +| `~` | refers to your home directory. _Note:_ this command does NOT work on Windows machines (Mac and Linux are okay) | +| `cd ./dirname` | changes the current directory to the directory `dirname` | +| `ls -F` | tells you what files and directories are in the current directory |