I want to get "PRETTY_NAME" of my system from release information file. I used this command in my bash file to get it:
SYS_VERSION=$(cat /etc/*-release | egrep "^PRETTY_NAME=(.*[a-zA-Z]+.*)$")
It returns the whole line:
PRETTY_NAME="Ubuntu 16.04.3 LTS"
But I just want the characters inside the double quotation.