Skip to content

Instantly share code, notes, and snippets.

@rosswd
Last active January 16, 2025 01:26
Show Gist options
  • Save rosswd/ed5966a8b3c3fcfe3fbe787cf6f3cfcb to your computer and use it in GitHub Desktop.
Save rosswd/ed5966a8b3c3fcfe3fbe787cf6f3cfcb to your computer and use it in GitHub Desktop.
Finding Raspberry Pi OS Information
# Raspberry Pi OS Information
# show raspian information
cat /etc/os-release
# show architecture information
uname -m
arch
getconf LONG_BIT
# show kernel information
uname -a
cat /proc/version
# hostname, kernel, arch, os
hostnamectl
# show debian version
cat /etc/debian_version
# show raspberry pi model
cat /proc/cpuinfo | grep 'Model'
# show memory installed
free -ght
less /proc/meminfo | grep 'MemTotal'
# show memory usage (ctrl+c to quit)
free -h -s 5 -c 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment