# awk -F '=' '/^ID=/ {print $2}' /etc/os-release | tr -d '"'
or
# awk -F '=' '/^ID=/ {print $2}' /etc/os-release | sed -e 's/"//g'
or
# awk -F '=' '/^ID=/ {print $2}' /etc/os-release | awk -F'"' '{print $2}'
Sunday, December 25, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment