Phác Chí Huấn
New member
How do you check Linux is CentOS or Ubuntu?
Answer
So, here are some approaches you can use:
Answer
So, here are some approaches you can use:
- Use /etc/os-release awk -F= ‘/^NAME/{print $2}’ /etc/os-release.
- Use the lsb_release tools if available lsb_release -d | awk -F”t” ‘{print $2}’