Terminal Tidbits: LS Command

One of the most handy commands to use in terminal for navigation in the terminal is the LS command. The LS command will list all files and folders in your present working directory. The syntax works something like this:

ls: displays contents in list view of folder

ls -l: displays contents in list view of folder

ls -a: displays all content of folder even hidden ones

There are other terminal commands to know when surfing the file system:

pwd: displays present working directory, think of it as a “you are here” in terminal

cd: change directory

With the above commands you can surf the terminal and learn a lot about your filesystem and do it safely.