Blog: 2023-07-18

From razwiki
Revision as of 18:10, 18 July 2023 by Razzi (talk | contribs)
Jump to navigation Jump to search

List installed debian packages by size

dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n

link

But what are the units here? kilobytes? probably. But would be nice to have units. Powershell style structured output could be useful here.

Nice browser of installed packages: dpkg --list

Journalctl shows all messages you can see by default: journalctl

Tail messages with journalctl with -f for follow:

journalctl -f

Thinking about recursive git clones. also how some command line tools are pretty much like functions, and how therefore a programming environment could be built up function by function rather than pulling in a huge package like python. But batteries included makes for a lot of ease