1. MagicESP
  2. Ubuntu Server 22.04
  3. Show the Version of Ubuntu Server

Show the Version of Ubuntu Server

display the ubuntu version

lsb_release -a

other information

uname -a

cleanup /boot

https://askubuntu.com/questions/142926/cant-upgrade-due-to-low-disk-space-on-boot

dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge