CentOS 7 specific: timedatectl | gawk -F': ' ' $1 ~ /Timezone/ {print $2}'. And displaying just the timezone: timedatectl | gawk -F'[: ]+' ' $2 ~ /Timezone/ ...
確定! 回上一頁