To know current directory we are in
# Print working directory
pwd
To list files
# Syntax
ls [OPTIONS] [FILE]
# “long” output
ls -l file.txt
# To get a list of hidden files and direcotires
ls -a
# To get a listing of all files, including hidden files and directories
ls -la file.txt
To change directory
# Syntax
cd [directory_path]
# Changing a directory by giving an absolute path
cd /usr/share
# changing a directory by giving an absolute path
# Any directory within the current directory can be referenced by name without a leading slash
cd share
# To go back up, travelling to the parent of the current directory
cd ..