<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>バージョン確認 &#8211; スグブログ</title>
	<atom:link href="https://sugublog.org/tag/%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e7%a2%ba%e8%aa%8d/feed/" rel="self" type="application/rss+xml" />
	<link>https://sugublog.org</link>
	<description>ブログ運営について発信中</description>
	<lastBuildDate>Sun, 02 Jun 2024 08:47:27 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://sugublog.org/wp-content/uploads/2021/07/icon_20210703-min-150x150.png</url>
	<title>バージョン確認 &#8211; スグブログ</title>
	<link>https://sugublog.org</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>【Linux基礎】OSのバージョン確認する方法！</title>
		<link>https://sugublog.org/linux-os-version-check/</link>
					<comments>https://sugublog.org/linux-os-version-check/?noamp=mobile#respond</comments>
		
		<dc:creator><![CDATA[suguru]]></dc:creator>
		<pubDate>Fri, 31 May 2024 15:00:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[サーバ]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[バージョン確認]]></category>
		<guid isPermaLink="false">https://sugublog.org/?p=6883</guid>

					<description><![CDATA[<p><img src="https://sugublog.org/wp-content/uploads/2021/09/randam_0915-4-1024x576.jpg" class="webfeedsFeaturedVisual" /></p>LinuxでOSのバージョン確認したい場合ないでしょうか？ すぐ確認したいけどどうすれば良いかわからなくなった。 そんな時の為にLinuxでOSのバージョン確認する方法をまとめます。 LinuxのOSのバージョン確認する [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img src="https://sugublog.org/wp-content/uploads/2021/09/randam_0915-4-1024x576.jpg" class="webfeedsFeaturedVisual" /></p>
<p>Linuxで<strong><span class="swl-inline-color has-swl-deep-01-color">OSのバージョン確認</span></strong>したい場合ないでしょうか？</p>



<p>すぐ確認したいけどどうすれば良いかわからなくなった。</p>



<p>そんな時の為に<strong><span class="swl-bg-color has-swl-deep-01-background-color">LinuxでOSのバージョン確認する方法</span></strong>をまとめます。</p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9330904718533231"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-9330904718533231"
     data-ad-slot="8455594968"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h2 class="wp-block-heading">LinuxのOSのバージョン確認する方法</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="576" src="https://sugublog.org/wp-content/uploads/2021/08/script_0809-1-1024x576.jpg" alt="バージョン" class="wp-image-3869" srcset="https://sugublog.org/wp-content/uploads/2021/08/script_0809-1-1024x576.jpg 1024w, https://sugublog.org/wp-content/uploads/2021/08/script_0809-1-300x169.jpg 300w, https://sugublog.org/wp-content/uploads/2021/08/script_0809-1-768x432.jpg 768w, https://sugublog.org/wp-content/uploads/2021/08/script_0809-1.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Linuxの<strong><span class="swl-inline-color has-swl-deep-01-color">OSのバージョン確認する方法</span></strong>は、ディストリビューションによって違います。</p>



<p>今回はよく使用する以下の２つのOSについてまとめます。</p>



<div class="swell-block-capbox cap_box is-style-onborder_ttl"><div class="cap_box_ttl"><span>Linuxでよく使用するディストリビューション</span></div><div class="cap_box_content">
<ul class="wp-block-list">
<li>CentOS・・・Redhat系のディストリビューション</li>



<li>ubuntu・・・debian系のディストリビューション</li>
</ul>
</div></div>



<h2 class="wp-block-heading">CentOSでOSのバージョン確認する方法</h2>



<p><strong><span class="swl-inline-color has-swl-deep-01-color">CentOSでOSのバージョン確認する方法</span></strong>は以下のコマンドです。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>cat /etc/centos-release</code></pre></div>



<p>実際にコマンドを実行して、OSのバージョン確認してみます。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)</code></pre></div>



<p class="has-border -border01">OSのバージョン確認できました。7.9.2009 (Core)という事がわかります。</p>



<p>以下のコマンドでも可能です。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>cat /etc/os-release</code></pre></div>



<p>実際にコマンドを実行して、OSのバージョン確認してみます。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>[root@localhost ~]# cat /etc/os-release
NAME=&quot;CentOS Linux&quot;
VERSION=&quot;7 (Core)&quot;
ID=&quot;centos&quot;
ID_LIKE=&quot;rhel fedora&quot;
VERSION_ID=&quot;7&quot;
PRETTY_NAME=&quot;CentOS Linux 7 (Core)&quot;
ANSI_COLOR=&quot;0;31&quot;
CPE_NAME=&quot;cpe:/o:centos:centos:7&quot;
HOME_URL=&quot;https://www.centos.org/&quot;
BUG_REPORT_URL=&quot;https://bugs.centos.org/&quot;

CENTOS_MANTISBT_PROJECT=&quot;CentOS-7&quot;
CENTOS_MANTISBT_PROJECT_VERSION=&quot;7&quot;
REDHAT_SUPPORT_PRODUCT=&quot;centos&quot;
REDHAT_SUPPORT_PRODUCT_VERSION=&quot;7&quot;</code></pre></div>



<p class="has-border -border01">詳細なOSの情報が表示されています。</p>



<h2 class="wp-block-heading">UbuntuサーバーでOSのバージョン確認する方法</h2>



<p><strong><span class="swl-inline-color has-swl-deep-03-color">UbuntuサーバーでOSのバージョン確認する方法</span></strong>は以下のコマンドです。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>cat /etc/lsb-release</code></pre></div>



<p>実際にコマンドを実行して、OSのバージョン確認してみます。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>ubuntu1@ubuntu1:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION=&quot;Ubuntu 22.04.3 LTS&quot;</code></pre></div>



<p class="has-border -border01">OSのバージョン確認できました。22.04という事がわかります。</p>



<p>以下のコマンドでも可能です。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>cat /etc/os-release</code></pre></div>



<p>実際にコマンドを実行して、OSのバージョン確認してみます。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>ubuntu1@ubuntu1:~$ cat /etc/os-release
PRETTY_NAME=&quot;Ubuntu 22.04.3 LTS&quot;
NAME=&quot;Ubuntu&quot;
VERSION_ID=&quot;22.04&quot;
VERSION=&quot;22.04.3 LTS (Jammy Jellyfish)&quot;
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL=&quot;https://www.ubuntu.com/&quot;
SUPPORT_URL=&quot;https://help.ubuntu.com/&quot;
BUG_REPORT_URL=&quot;https://bugs.launchpad.net/ubuntu/&quot;
PRIVACY_POLICY_URL=&quot;https://www.ubuntu.com/legal/terms-and-policies/privacy-policy&quot;
UBUNTU_CODENAME=jammy</code></pre></div>



<p class="has-border -border01">詳細なOSの情報が表示されています。</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-9330904718533231" data-ad-slot="6086594686"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h2 class="wp-block-heading">Linuxで現状を確認するコマンドについて</h2>



<p>LinuxのCPU使用率確認コマンドについて</p>


<div class="swell-block-postLink">			<div class="p-blogCard -internal" data-type="type1" data-onclick="clickLink">
				<div class="p-blogCard__inner">
					<span class="p-blogCard__caption">あわせて読みたい</span>
					<div class="p-blogCard__thumb c-postThumb"><figure class="c-postThumb__figure"><img decoding="async" src="https://sugublog.org/wp-content/uploads/2021/07/web-design-007-6-300x180.jpg" alt="" class="c-postThumb__img u-obf-cover" width="320" height="180"></figure></div>					<div class="p-blogCard__body">
						<a class="p-blogCard__title" href="https://sugublog.org/linux-cpu-usage-check/">【Linux】CPUの使用率を確認する方法</a>
						<span class="p-blogCard__excerpt">LinuxでCPUの使用率を確認したい時はないでしょうか？ 確認するコマンドはいくつか知っていますが、どれを使えば良いのかわからない時はないでしょうか？ そういった時&#8230;</span>					</div>
				</div>
			</div>
		</div>


<p>Linuxのメモリ使用率確認コマンドについて</p>


<div class="swell-block-postLink">			<div class="p-blogCard -internal" data-type="type1" data-onclick="clickLink">
				<div class="p-blogCard__inner">
					<span class="p-blogCard__caption">あわせて読みたい</span>
					<div class="p-blogCard__thumb c-postThumb"><figure class="c-postThumb__figure"><img decoding="async" src="https://sugublog.org/wp-content/uploads/2021/11/DB_1103-2-300x169.jpg" alt="" class="c-postThumb__img u-obf-cover" width="320" height="180"></figure></div>					<div class="p-blogCard__body">
						<a class="p-blogCard__title" href="https://sugublog.org/linux-memory-usage-check/">【Linux】メモリの使用率や使用量を確認する方法をご説明</a>
						<span class="p-blogCard__excerpt">Linuxでメモリの使用率や使用量などを確認したい場合どうすれば良いのでしょうか？ 複数確認のやり方はありますが、どのように使い分ければ良いかわからないといった事&#8230;</span>					</div>
				</div>
			</div>
		</div>


<p>Linuxの物理ディスク確認コマンドについて</p>


<div class="swell-block-postLink">			<div class="p-blogCard -internal" data-type="type1" data-onclick="clickLink">
				<div class="p-blogCard__inner">
					<span class="p-blogCard__caption">あわせて読みたい</span>
					<div class="p-blogCard__thumb c-postThumb"><figure class="c-postThumb__figure"><img decoding="async" src="https://sugublog.org/wp-content/uploads/2021/11/HDD_1107-1-1-300x169.jpg" alt="" class="c-postThumb__img u-obf-cover" width="320" height="180"></figure></div>					<div class="p-blogCard__body">
						<a class="p-blogCard__title" href="https://sugublog.org/linux-physical-disk-capacity-check/">【Linux】物理ディスクの容量確認する方法！容量拡張のリンクあり</a>
						<span class="p-blogCard__excerpt">Linuxで物理ディスクの容量確認したいです。 そういった疑問に現役エンジニアの筆者が答えます。 Linuxの物理ディスクの概念も少しややこしいですが、この記事を読めば&#8230;</span>					</div>
				</div>
			</div>
		</div>


<p>Linuxのファイルシステムの容量確認コマンドについて</p>


<div class="swell-block-postLink">			<div class="p-blogCard -internal" data-type="type1" data-onclick="clickLink">
				<div class="p-blogCard__inner">
					<span class="p-blogCard__caption">あわせて読みたい</span>
					<div class="p-blogCard__thumb c-postThumb"><figure class="c-postThumb__figure"><img decoding="async" src="https://sugublog.org/wp-content/uploads/2021/12/PC教室20211216-1-300x277.jpg" alt="" class="c-postThumb__img u-obf-cover" width="320" height="180"></figure></div>					<div class="p-blogCard__body">
						<a class="p-blogCard__title" href="https://sugublog.org/linux-du-command/">【Linux基礎】dfコマンドの使い方！ファイルシステム別の容量確認コマンド</a>
						<span class="p-blogCard__excerpt">Linuxサーバーでディスクの容量を確認する、dfコマンドについて学んで行きます。 サーバーエンジニアはディスクの容量を気にしなければいけません。そんな時に役立つdf&#8230;</span>					</div>
				</div>
			</div>
		</div>


<p>Linuxのファイルやディレクトリの容量確認コマンドについて</p>


<div class="swell-block-postLink">			<div class="p-blogCard -internal" data-type="type1" data-onclick="clickLink">
				<div class="p-blogCard__inner">
					<span class="p-blogCard__caption">あわせて読みたい</span>
					<div class="p-blogCard__thumb c-postThumb"><figure class="c-postThumb__figure"><img decoding="async" src="https://sugublog.org/wp-content/uploads/2021/07/analytics-1-300x200.jpg" alt="" class="c-postThumb__img u-obf-cover" width="320" height="180"></figure></div>					<div class="p-blogCard__body">
						<a class="p-blogCard__title" href="https://sugublog.org/linux-du-command-2/">【Linux基礎】duコマンドでファイルの容量を確認する方法</a>
						<span class="p-blogCard__excerpt">Linuxサーバーでファイルやディレクトリの容量を確認するコマンドにduコマンドがあります。 そのduコマンドの使い方やオプションについてまとめます。 Linuxでduコマン&#8230;</span>					</div>
				</div>
			</div>
		</div>]]></content:encoded>
					
					<wfw:commentRss>https://sugublog.org/linux-os-version-check/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
