To get the major version: cat /etc/redhat-release | grep -oP '(?<= )[0-9]+(?=\.)' – Rockallite. Feb 8 '17 at 7: ...
確定! 回上一頁