DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
pulls OS name and version linux
( lsb_release -ds || cat /etc/*release || uname -om ) 2>/dev/null | head -n1
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#pulls
#OS
#version
#linux
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit