pwd -------------------Present Working Directory path
ls -------------------- To view directories and files in a folder
ls -R ----------------- To view subdirectories of directories.
ls -t
ls -l ------------------To view permissions, last modified date, size in bytes of particular folder.
ls -lt
ls -la -----------------To view all items including hidden items.
ls -lRa
ls -lr -----------------shows in reverse order.
ls -s ------------------To view size.
ls *.js ----------------To view all the js files in that folder.
ls Zoo* ----------------To view all the files with "Zoo" in its name.
ls .. ------------------list all directories and folder.
cd ---------------------------Go to
cd .. ------------------------Go to previously directory.
cd ../../ --------------------Go back twice.
touch ------------------------To create a file. {touch a.js}
cat --------------------------To view what is inside in a file. {cat a.js}