From: Lynne Williams Date: Sun, 17 Feb 2013 15:33:17 +0000 (-0500) Subject: Update shell_cheatsheet.md X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a3ffffb23d73c40a55c214c62ffc329807bc07c5;p=swc-workshop.git Update shell_cheatsheet.md --- diff --git a/shell_cheatsheet.md b/shell_cheatsheet.md index cc4d8d1..2b1ebcc 100644 --- a/shell_cheatsheet.md +++ b/shell_cheatsheet.md @@ -14,9 +14,11 @@ ## 2. Creating Things: -### a) How to create new files and directories... -* **`mkdir ./dirname`** --> makes a new directory called dirname below the current directory. _Note:_ Windows users will need to use `\` instead of `/` for the path separator -* **`nano filename`** --> if `filename` does not exist, `nano` creates it and opens the `nano` text editor. If the file exists, `nano` opens it. _Note:_ _(i)_ You can use a different text editor if you like. In gnome Linux, `gedit` works really well too. _(ii)_ `nano` (or `gedit`) create text files. It doesn't matter what the file extension is (or if there is one) +### a) How to create new files and directories.. + + +`mkdir ./dirname` | makes a new directory called dirname below the current directory. _Note:_ Windows users will need to use `\` instead of `/` for the path separator +`nano filename` | if `filename` does not exist, `nano` creates it and opens the `nano` text editor. If the file exists, `nano` opens it. _Note:_ _(i)_ You can use a different text editor if you like. In gnome Linux, `gedit` works really well too. _(ii)_ `nano` (or `gedit`) create text files. It doesn't matter what the file extension is (or if there is one) ### b) How to delete files and directories... #### _Remember that deleting is forever. There is NO going back_