$ CLI Academy

Getting Started

Where Am I? (pwd & ls)

Print your current directory and list what is inside it.

pwd stands for print working directory. It answers “where am I right now?”

ls lists files and folders in the current directory. Add -l for details or -a to include hidden files (names starting with .).

Try combinations

ls -la is one of the most common commands you will run — long format plus hidden entries.

$ Commands to try

$ pwd
$ ls
$ ls -l
$ ls -la

Practice exercise

Run pwd, then ls, then ls -la. Compare the output of each.