Last active
June 23, 2020 12:46
-
-
Save ponsuke0531/9bffe91dbdc8c4b3104dde50f2281370 to your computer and use it in GitHub Desktop.
LinuxのOSを確認する方法 ref: https://qiita.com/ponsuke0531/items/48ec9f001d0b45d077fc
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
$ cat /etc/issue | |
# CentOS, RedHat系 | |
$ cat /etc/redhat-release | |
# AmazonLinux | |
$ cat /etc/system-release | |
# Ubuntuとかいろいろ | |
$ cat /etc/os-release |
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
$ uname -m | |
x86_64 | |
$ arch | |
x86_64 |
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
$ uname -m | |
x86_64 | |
$ arch | |
x86_64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment