Last active
November 5, 2018 19:49
-
-
Save veggiemonk/321a34a9164e7fe00944125dd8fe3034 to your computer and use it in GitHub Desktop.
Useful commands
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
# Commands that are useful once in a while but not always for everyday usage | |
# Remove all node_modules forlder recursively | |
find . -name "node_modules" -type d -prune -exec rm -rf '{}' + | |
# List globally installed npm package | |
npm list -g --depth=0 | |
# Loop over files in the current dir | |
for f in *; do | |
echo "File -> $f" | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment