From ed3e2f5a94505f65f986d63c79c0cb9f89bf1204 Mon Sep 17 00:00:00 2001 From: Lynne Williams Date: Sun, 17 Feb 2013 10:30:47 -0500 Subject: [PATCH] Update shell_cheatsheet.md --- shell_cheatsheet.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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 | -- 2.26.2