Blog: 2023-07-18: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "List installed debian packages by size dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n [https://unix.stackexchange.com/questions/40442/which-installed-software-pa...")
 
No edit summary
Line 14: Line 14:


journalctl -f
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

Revision as of 18:10, 18 July 2023

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