From 2b80326c3ca3f53a452c660dfd775367def6de1d Mon Sep 17 00:00:00 2001 From: msmichellegar Date: Sat, 30 Jan 2016 16:33:02 +0000 Subject: [PATCH 1/2] adds command line cheatsheet --- README.md | 1 + command-line-cheatsheet.md | 14 ++++++++++++++ node-cheatsheet.md | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 command-line-cheatsheet.md diff --git a/README.md b/README.md index 4c471b0..9f097d1 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,4 @@ A set of cheatsheets and glossary terms that will be useful for completing the Node Girls workshops. * [Node Cheatsheet](https://github.com/node-girls/cheatsheets/master/node-cheatsheet.md) +* [Command Line Cheatsheet](https://github.com/node-girls/cheatsheets/master/command-line-cheatsheet.md) diff --git a/command-line-cheatsheet.md b/command-line-cheatsheet.md new file mode 100644 index 0000000..1a934b1 --- /dev/null +++ b/command-line-cheatsheet.md @@ -0,0 +1,14 @@ +# Command Line Cheatsheet + +A go-to list of simple commands for your terminal. + + +| Term | Meaning | +|-----------------------|----------------------------------| +| `pwd` | Stands for "print working directory". Will tell you the path to the folder you are currently in. | +| `cd ` | Stands for "change directory". Will move you into the folder specified. eg. `cd documents` or `cd documents/node-project` | +| `cd ..` | Moves you back one folder, to the parent directory. | +| `ls` | Lists all the files and folders in the current directory. | +| `mkdir ` | Creates a new folder with the name specified. eg. `mkdir new-project` | +| `touch ` | Creates a new file with the name specified. eg. `touch index.html` | +| `rm ` | Removes the specified file. eg. `rm script.js` | diff --git a/node-cheatsheet.md b/node-cheatsheet.md index a4deb24..566b09a 100644 --- a/node-cheatsheet.md +++ b/node-cheatsheet.md @@ -12,5 +12,5 @@ A glossary of terms for Node.js. | `npm package` | Open source Node project, published on npm. | | `npm init` | Command run in the terminal to initialise your Node project and create a package.json file. | | `npm install ` | Command run in the terminal to install an npm package. | -| `package.json` | File holding various metadata about a Node project, such as project name, description or license information, installed packages (or dependencies). Usually located in the root directory. Package.json cheatsheet [here](http://browsenpm.org/package-json). | +| `package.json` | File holding various metadata about a Node project, such as project name, description or license information, installed packages (aka dependencies). Usually located in the root directory. Package.json cheatsheet [here](http://browsenpm.org/package-json). | | `dependencies` | Packages installed from npm that are necessary to run the project successfully. Listed in the package.json. | From 81201a8524981a28da82cedcd9b50c02e1b9869e Mon Sep 17 00:00:00 2001 From: msmichellegar Date: Sat, 30 Jan 2016 16:39:15 +0000 Subject: [PATCH 2/2] fixes broken urls --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9f097d1..7bc1f9e 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,5 @@ A set of cheatsheets and glossary terms that will be useful for completing the Node Girls workshops. -* [Node Cheatsheet](https://github.com/node-girls/cheatsheets/master/node-cheatsheet.md) -* [Command Line Cheatsheet](https://github.com/node-girls/cheatsheets/master/command-line-cheatsheet.md) +* [Node Cheatsheet](https://github.com/node-girls/cheatsheets/blob/master/node-cheatsheet.md) +* [Command Line Cheatsheet](https://github.com/node-girls/cheatsheets/blob/master/command-line-cheatsheet.md)