List information about files and directories.
-l
Use a long listing format-a
Include hidden files (those starting with .)-h
With -l, print human readable sizes$ ls -la
$ ls -lh
Change the current working directory.
cd
- Go to home directorycd ..
- Go up one directorycd /path/to/dir
- Go to specific directoryPrint the full filename of the current working directory.
$ pwd
/home/username/documents