- No.
- 2
- Date
- Learning goal
- Terminal Start, lesson 2
- Level
- 1 of 3
Command of the day No. 2: ls -la
Purpose: Lists every entry with details, hidden ones too.
Syntax: ls -la [folder]
Example:
ls -la Documents
total 16
drwxr-xr-x 2 lerner lerner 4096 Oct 16 18:00 .
drwxr-xr-x 6 lerner lerner 4096 Oct 17 08:58 ..
-rw-r--r-- 1 lerner lerner 141 Oct 16 18:00 notes.txt
-rw-r--r-- 1 lerner lerner 51 Oct 14 10:30 report.txt Output from the simulator, as on a real Linux.
Options:
Try it in the terminal Share image
Fills in the command. Nothing runs until you press Enter.