mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 21:55:42 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/duc
10
tldr/duc
@@ -9,17 +9,17 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Duc maintains a database of accumulated sizes of directories of the file system, allowing queries in this database, or creating fancy graphs to show where data is.
|
||||
> More information: <http://duc.zevv.nl>.
|
||||
|
||||
- Index the /usr directory, writing to the default database location ~/.duc.db:
|
||||
- Index the `/usr` directory, writing to the default database location `~/.duc.db`:
|
||||
|
||||
`duc index {{/usr}}`
|
||||
|
||||
- List all files and directories under /usr/local, showing relative file sizes in a [g]raph:
|
||||
- List all files and directories under `/usr/local`, showing relative file sizes in a graph:
|
||||
|
||||
`duc ls -Fg {{/usr/local}}`
|
||||
`duc ls {{[-Fg|--classify --graph]}} {{/usr/local}}`
|
||||
|
||||
- List all files and directories under /usr/local using treeview recursively:
|
||||
- List all files and directories under `/usr/local` using treeview recursively:
|
||||
|
||||
`duc ls -Fg -R {{/usr/local}}`
|
||||
`duc ls {{[-Fg|--classify --graph]}} {{[-R|--recursive]}} {{/usr/local}}`
|
||||
|
||||
- Start the graphical interface to explore the file system using sunburst graphs:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user