This is a growing list of the (mostly) Unix-like commands that I use the most while working on frontend projects. When I use the word "print" below, I probably mean log something to the terminal. Some commands are prefix by $ to show it's a command line command - don't actually type the $.
| Command | Description | Note |
|---|---|---|
$ pwd |
Print current directory | |
$ ls -a |
Lists everything in the current directory, including hidden files (-a). |
This lets you makes sure you can see your .gitignore, .bashrc, etc |
$ mkdir example && cd $_ |
Makes a new directory and immediately goes into it. | |
$ mkdir -p example |
Makes a new directory IF one of the same name doesn't already exist. |