Search
 
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
Name
1+6 =