以下のコマンドを打つとOSや

環境確認(実行環境)

[root@ip-172-26-1-254 ~]#
[root@ip-172-26-1-254 ~]#
[root@ip-172-26-1-254 ~]# cat /etc/system-release
Amazon Linux release 2 (Karoo)
[root@ip-172-26-1-254 ~]#
[root@ip-172-26-1-254 ~]#
[root@ip-172-26-1-254 ~]# cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
[root@ip-172-26-1-254 ~]#
[root@ip-172-26-1-254 ~]#
[root@ip-172-26-1-254 ~]# cat /etc/image-id
image_name="amzn2-ami-hvm"
image_version="2"
image_arch="x86_64"
image_file="amzn2-ami-hvm-2.0.20201218.1-x86_64.xfs.gpt"
image_stamp="5506-1dc1"
image_date="20201221200406"
recipe_name="amzn2 ami"
recipe_id="61f400d1-3deb-92dd-6d57-6337-5f8b-4eaf-dc660866"
[root@ip-172-26-1-254 ~]#
[root@ip-172-26-1-254 ~]#
[root@ip-172-26-1-254 ~]#

 

 

 

Twitterでフォローしよう