6
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

LinuxのOSを確認する方法

Last updated at Posted at 2017-06-08

OSを確認する方法

$ cat /etc/issue

# CentOS, RedHat系
$ cat /etc/redhat-release

# AmazonLinux
$ cat /etc/system-release

# Ubuntuとかいろいろ
$ cat /etc/os-release

# Debial
$ cat /etc/debian_version
10.11
$ cat /etc/issue
Debian GNU/Linux 10 \n \l

64bitとか32bitとかを確認する方法

$ uname -m
x86_64

$ arch
x86_64

参考

6
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?