Skip to content

Instantly share code, notes, and snippets.

@simonholm
Last active May 29, 2021 20:46
Show Gist options
  • Save simonholm/c0880427e5a99eeb5bbd59c7b43eba2e to your computer and use it in GitHub Desktop.
Save simonholm/c0880427e5a99eeb5bbd59c7b43eba2e to your computer and use it in GitHub Desktop.
not to self, command detect os version
cat /etc/os-release
lsb_release -a
hostnamectl
# kernal
uname -r
# source https://www.cyberciti.biz/faq/how-to-check-os-version-in-linux-command-line/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment