-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from node-girls/command-line-cheatsheet
Command line cheatsheet
- Loading branch information
Showing
3 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <folder-name>` | 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 <folder-name>` | Creates a new folder with the name specified. eg. `mkdir new-project` | | ||
| `touch <file-name>` | Creates a new file with the name specified. eg. `touch index.html` | | ||
| `rm <file-name>` | Removes the specified file. eg. `rm script.js` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters