terminal.cab
No.
4
Date
Learning goal
Terminal Start, lesson 2
Level
1 of 3

Command of the day No. 4: ls -lt

Purpose: Lists entries by time, newest first.

Syntax: ls -lt [folder]

Example:

ls -lt Downloads
total 2400
-rw-r--r-- 1 lerner lerner  150000 Oct 15 20:00 photo.jpg
-rwxr-xr-x 1 lerner lerner      26 Oct 12 09:00 setup.sh
-rw-r--r-- 1 lerner lerner 2300000 Oct  8 16:00 manual.pdf

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.

Command of the day No. 4: ls -lt. Purpose: Lists entries by time, newest first. Example: ls -lt Downloads. Remember: What did I change last? ls -lt puts it on top.
The same card as an image, 1080 x 1350 pixels.

Today's card ยท All cards so far