Updated: 14 May 2026
Distribution
Print distribution specific information
lsb_release -d
Display contents of os-release file
cat /etc/os-release
dpkg
Package manager for Debian
Get architecture (e.g. AMD or ARM) of machine this command is run on i.e. the architecture of packages installed by dpkg.
dpkg --print-architecture