How to navigate in Linux

ls & cd commands

In order to correctly use Linux (or Bash) commands you have to be able to navigate through the directory. In Windows, MacOS or even Linux, you can navigate with your cursor and double-click to get in a directory, but this is the classic way, let see how navigate through UNIX with the ls and cd commands.
 
ls [option] <path>
cd [option] <path>
 
ls: is giving information about the contents of files or directories but also optional information. Without  argument, it will alphabetically list all elements in the current directory.
 
Available options:
-a --all print all files, even the hided files (with a '.' at the begininning)
-A print all files, even the hided files (with a '.' at the begininning) except the '.' and '..' files
-l show more information like author, authorizations and size about files.
-1 print only one file/directory by line
You can find many more options but for a basic usage it if not used every day.
 
cd: changes the shell's current working directory.
No (useful wink) option available.

Example:

Wrote by Raspaud Alexandre at May 18 2018, contact alexandre.raspaud@gmail.com.