forked from extern/nushell
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
22 lines
510 B
Markdown
22 lines
510 B
Markdown
---
|
|
title: ls
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
List the files in a directory.
|
|
|
|
## Signature
|
|
|
|
```> ls (pattern) --all --long --short-names --full-paths --du```
|
|
|
|
## Parameters
|
|
|
|
- `pattern`: the glob pattern to use
|
|
- `--all`: Show hidden files
|
|
- `--long`: List all available columns for each entry
|
|
- `--short-names`: Only print the file names and not the path
|
|
- `--full-paths`: display paths as absolute paths
|
|
- `--du`: Display the apparent directory size in place of the directory metadata size
|
|
|