mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
Command documentation for du
(#1416)
This commit is contained in:
parent
b98f893217
commit
e38442782e
1 changed files with 26 additions and 0 deletions
26
docs/commands/du.md
Normal file
26
docs/commands/du.md
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# du
|
||||||
|
|
||||||
|
`du` stands for disk usage. It will give you the physical and apparent size of files and folders
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
```shell
|
||||||
|
> du src/commands
|
||||||
|
───┬──────────────┬──────────┬──────────┬────────────────
|
||||||
|
# │ path │ apparent │ physical │ directories
|
||||||
|
───┼──────────────┼──────────┼──────────┼────────────────
|
||||||
|
0 │ src/commands │ 411.5 KB │ 647.2 KB │ [table 1 rows]
|
||||||
|
───┴──────────────┴──────────┴──────────┴────────────────
|
||||||
|
> du -a src/commands
|
||||||
|
───┬──────────────┬──────────┬──────────┬─────────────────┬────────────────
|
||||||
|
# │ path │ apparent │ physical │ files │ directories
|
||||||
|
───┼──────────────┼──────────┼──────────┼─────────────────┼────────────────
|
||||||
|
0 │ src/commands │ 411.5 KB │ 647.2 KB │ [table 95 rows] │ [table 1 rows]
|
||||||
|
───┴──────────────┴──────────┴──────────┴─────────────────┴────────────────
|
||||||
|
> du *.rs
|
||||||
|
───┬──────────┬──────────┬──────────
|
||||||
|
# │ path │ apparent │ physical
|
||||||
|
───┼──────────┼──────────┼──────────
|
||||||
|
0 │ build.rs │ 78 B │ 4.1 KB
|
||||||
|
───┴──────────┴──────────┴──────────
|
||||||
|
```
|
Loading…
Reference in a new issue