ls
Lists the files in the current folder — the same command as dir.
What we have
- the same as
dir, under the name Unix users expect
Coming later
Nothing known to be missing.
How you write it
ls [path]
Square brackets mean optional. A vertical bar means choose one.
What it does
Two names for one thing, because Stata users type dir and people who grew up on Unix type ls. Neither is more correct.
Try it
. ls
(no files matching *)
The same thing in pandas and in R
R
# no R form for `ls` yet -- see docs/r-equivalents.md