Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| user:yeti:opkg-list-user-installed-packages [2018/01/16 08:37] – [2018-01-16] yeti | user:yeti:opkg-list-user-installed-packages [2018/02/03 01:06] – [2018-01-16] yeti | ||
|---|---|---|---|
| Line 63: | Line 63: | ||
| :?: Why '' | :?: Why '' | ||
| - | :!: Have a look: | + | :!: Have a look: //(the example was run on Debian)// |
| < | < | ||
| - | (yeti@kumari: | + | $ du logs |
| - | 8 github/ | + | 8 |
| - | 8 | + | 8 |
| - | 12 github/ | + | 12 logs/ |
| - | 4 | + | 24 logs/refs |
| - | 28 github/ | + | 32 logs |
| - | 8 | + | |
| - | 44 github/ | + | |
| - | 8 | + | |
| - | 12 github/ | + | |
| - | 8 | + | |
| - | 4 | + | |
| - | 8 | + | |
| - | 8 | + | |
| - | 4 | + | |
| - | 8 | + | |
| - | 8 | + | |
| - | 8 | + | |
| - | 80 github/ | + | |
| - | 4 | + | |
| - | 8 | + | |
| - | 8 github/ | + | |
| - | 12 | + | |
| - | 24 | + | |
| - | 32 | + | |
| - | 228 | + | |
| - | 240 | + | |
| - | 824 | + | |
| </ | </ | ||
| - | The directories have are entered and all their files are shown in '' | + | The script only needs the summary |
| < | < | ||
| - | (yeti@kumari: | + | $ du -s logs |
| - | 240 | + | 32 logs |
| - | 240 | + | |
| </ | </ | ||
| + | If called with files and directories, | ||
| + | < | ||
| + | $ ls -ld description logs | ||
| + | -rw-r--r-- 1 yeti yeti 73 Mai 15 2017 description | ||
| + | drwxr-xr-x 3 yeti yeti 4096 Mai 15 2017 logs | ||
| + | $ du -s description logs | ||
| + | 4 | ||
| + | 32 logs | ||
| + | </ | ||
| + | As long as this script shall show no intermediate results, letting '' | ||