Basic Terminal Commands

My terminal cheatsheet

ls – to list the contents directory

grep – to search for a string e.g npm list | grep sync would serach the npm list for ‘sync’ or $ grep hello /etc/passwd would search for hello in the passwd dir

.. – to traverse up a directory