#Linux Cheat Sheet
##File Commands:
- ls – directory listing
- ls -al – formatted listing with hidden files
- cd dir - change directory to dir
- cd – change to home
- pwd – show current directory
- mkdir dir – create a directory dir
- rm file – delete file
#Linux Cheat Sheet
##File Commands:
| # alias to edit commit messages without using rebase interactive | |
| # example: git reword commithash message | |
| reword = "!f() {\n GIT_SEQUENCE_EDITOR=\"sed -i 1s/^pick/reword/\" GIT_EDITOR=\"printf \\\"%s\\n\\\" \\\"$2\\\" >\" git rebase -i \"$1^\";\n git push -f;\n}; f" | |
| # release alias with tagging | |
| # usage: git release v2.3.0 "Finalized API and added documentation" ./docs.zip | |
| release = !f() { tag="$1"; title="$2"; shift 2; gh release create "$tag" --target $(git rev-parse HEAD) -t "$title" --generate-notes "$@"; }; f | |
| # usage gh lockdown | |
| # git alias to disable wikis, issues, projects for existing repos | 
| 1. How callbacks work!! | |
| 2. Closure. | |
| 3. Prototypes. | |
| ES6 Concepts | |
| Let and const | |
| classes and inheritance | |
| teplate literals | |
| string methods and number methods | |
| default params and spread operator | |
| set maps weakset weakmap |