tree
ls ⇒ list the current working directory (CWD) content
ls -l ⇒ long list of CWD
llls <specific_path> ⇒ list for a specific path
ls -a ⇒ to list all content including hidden files
ls -h ⇒ list content in a human readable order
ls -R ⇒ list content recursively = list content and each item’s content also
ls -t ⇒ list content sorted by time stamp (access time)
ls -r ⇒ list content sorted by reversed alphabetical order
ls list content sorted alphabetically (not reversed)you can combine more than one option in the same command
ls -la ⇒ long list + hidden filesls -lh ⇒ long list + human readable formatls -lha long + hidden + humandir ⇒ same as ls no colors ⇒ useless command
dir --color ⇒<aside> 💡
Relative path vs absolute path
</aside>
pwd ⇒ print working directory
cd = cd ~ = cd /home/username ⇒ all of this commands change your directory to you current user’s home directory
~ this sign called Tilde in case you wondercd ~gamel ⇒ to cd into gamel home directory
cd <path> ⇒ change directory to the given path
cd <folder_name> ⇒ change dir to this folder name
cd .. ⇒ move one level up