Linuxでディストリビューション及びバージョンを確認する場合のコマンド
$ cat /etc/issue
で確認ができる
また、Centosでは以下のコマンドでも確認するとができる
$ cat /etc/redhat-release
※ubuntuにも、/etc/debian_versionというファイルが存在するが、"testing/unstable"と表示され確認はできなかった
$ cat /etc/issue
で確認ができる
また、Centosでは以下のコマンドでも確認するとができる
$ cat /etc/redhat-release
※ubuntuにも、/etc/debian_versionというファイルが存在するが、"testing/unstable"と表示され確認はできなかった
テーマ:UNIX/Linux - ジャンル:コンピュータ
| ホーム |






