Created
February 15, 2014 22:56
-
-
Save seriwb/9026394 to your computer and use it in GitHub Desktop.
Linux OSの種類を確認するコマンド
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 全OS | |
cat /etc/`ls /etc -F | grep "release$\|version$"` | |
# CentOSのみ | |
cat /etc/redhat-release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OSの種類は「uname -a」で確認できる。