Skip to content

Instantly share code, notes, and snippets.

@seriwb
Created February 15, 2014 22:56
Show Gist options
  • Save seriwb/9026394 to your computer and use it in GitHub Desktop.
Save seriwb/9026394 to your computer and use it in GitHub Desktop.
Linux OSの種類を確認するコマンド
# 全OS
cat /etc/`ls /etc -F | grep "release$\|version$"`
# CentOSのみ
cat /etc/redhat-release
@seriwb
Copy link
Author

seriwb commented Feb 15, 2014

OSの種類は「uname -a」で確認できる。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment