Files
lk/shell/ls.md
Malin Freeborn bca5337ac3 modify basic filestructure
It's unclear what's 'basic', so `basic/` notes have been mostly moved.
The remainder became `shell/`.
2026-04-20 02:42:41 +02:00

480 B

title, tags
title tags
ls
basics

Firstly, your ls is probably aliased to something.

Check it with:

alias ls

If the prompt shows some alias, then start by removing it:

unalias ls

Now we can begin.

Check the most recently modified file:

ls -t

Reverse this with tac to see the file which has been unmodified the longest:

ls -t | tac

Group files by extension:

ls -X

Sort largest files first:

ls -X