Skip to content

Instantly share code, notes, and snippets.

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