Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to check linux is ubuntu or centos

awk -F= '/^NAME/{print $2}' /etc/os-release
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #check #linux #ubuntu #centos
ADD COMMENT
Topic
Name
2+1 =