Skip to content

Instantly share code, notes, and snippets.

@vfedyay
vfedyay / os-ver.sh
Last active Mar 29, 2021
Linux OS version
View os-ver.sh
#!/bin/bash
if [ -f /etc/os-release ]; then
# freedesktop.org and systemd
. /etc/os-release
OS_ID=$ID
#OS=$NAME
#VER=$VERSION_ID
fi