techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

5.4K
active users

Question for the Linux nerds: What pre-installed CLI program would you run to view info about your system - e.g. OS version, kernel version, Processor, memory, display

Assume neofetch is not installed.

Is there something better than uname?

Include your distro in your response.

Tomas Karban

@awoodsnet I am interested to see the results. is something I always install. And I always cringe at the number of dependencies it brings. The smaller the distro or container, the worse it feels.

@tomaskarban what i want to do is create a set of “about” functions to report system info - to report the kind of info one gets from going to the Apple menu and choosing “About My Mac” or that neofetch would provide. The catch is to have zero dependencies - so i gotta run what’s already installed . So about_debian(), about_ubuntu(), about_redhat() and the ultimate fallback about_linux() which I think can be better than just calling uname