<?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/%E9%9A%A0%E3%81%97%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB/feed/" rel="self" type="application/rss+xml" />
	<link>https://sugublog.org</link>
	<description>ブログ運営について発信中</description>
	<lastBuildDate>Sun, 02 Jun 2024 07:02:24 +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】隠しファイルを表示する方法をわかりやすく解説します！</title>
		<link>https://sugublog.org/linux-hidden-file-display/</link>
					<comments>https://sugublog.org/linux-hidden-file-display/?noamp=mobile#respond</comments>
		
		<dc:creator><![CDATA[suguru]]></dc:creator>
		<pubDate>Sat, 04 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=6706</guid>

					<description><![CDATA[<p><img src="https://sugublog.org/wp-content/uploads/2021/08/programing_0812-6-1024x576.jpg" class="webfeedsFeaturedVisual" /></p>そのような疑問に現役エンジニアの筆者が答えます。 Linuxサーバーの管理をする者は隠しファイルの存在も気にしていなければいけません。 という訳でLinuxで隠しファイルを表示する方法を見ていきます。 Linuxで隠しフ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img src="https://sugublog.org/wp-content/uploads/2021/08/programing_0812-6-1024x576.jpg" class="webfeedsFeaturedVisual" /></p><div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="blue"><div class="c-balloon__icon -square"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://sugublog.org/wp-content/uploads/2021/02/cropped-dog003-150x150.png" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://sugublog.org/wp-content/uploads/2021/02/cropped-dog003-150x150.png" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">Linux新人サーバー管理者</span></div><div class="c-balloon__body -thinking -border-on"><div class="c-balloon__text">
<p>Linuxサーバーで隠しファイルを表示する方法を知りたいです。</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<p>そのような疑問に現役エンジニアの筆者が答えます。</p>


<div class="p-blogParts post_content" data-partsID="5908">
<p>筆者はWindowsサーバーやLinuxサーバーの運用構築を11年間以上おこなってきました。その経験を元に知識を公開していきます！</p>
</div>


<p>Linuxサーバーの管理をする者は<strong><span class="swl-inline-color has-swl-deep-01-color">隠しファイル</span></strong>の存在も気にしていなければいけません。</p>



<p>という訳で<span class="swl-bg-color has-swl-deep-01-background-color">Linuxで隠しファイルを表示する方法</span>を見ていきます。</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で隠しファイルを表示する方法</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="683" src="https://sugublog.org/wp-content/uploads/2021/10/moving1006-3-1024x683.jpg" alt="隠しファイル" class="wp-image-4236" srcset="https://sugublog.org/wp-content/uploads/2021/10/moving1006-3-1024x683.jpg 1024w, https://sugublog.org/wp-content/uploads/2021/10/moving1006-3-300x200.jpg 300w, https://sugublog.org/wp-content/uploads/2021/10/moving1006-3-768x512.jpg 768w, https://sugublog.org/wp-content/uploads/2021/10/moving1006-3.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p><span class="swl-marker mark_orange"><strong><span class="swl-inline-color has-swl-deep-01-color">Linuxで隠しファイルを表示する方法</span></strong>は<strong><span class="swl-inline-color has-swl-deep-01-color">lsコマンドの-aオプション</span></strong>です。</span></p>



<p class="is-style-icon_info">aオプションはallのaで全て表示。つまり隠しファイルも表示する</p>



<p>わかりやすいように「l」オプションをつけています。</p>



<p class="is-style-icon_pen">lオプションは詳細を表示するオプションです。</p>



<p>まずはaオプションなしの以下のコマンドで見てみます。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>ls -l</code></pre></div>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>[root@localhost ~]# ls -l
合計 72
-rw-------.  1 root root  1257  1月  7  2023 anaconda-ks.cfg
drwxr-xr-x.  2 root root     6  4月 25  2023 backup
drwxr-xr-x.  3 root root    48  4月 13  2023 bash-completion
-rw-r--r--.  1 root root     1 11月 18 23:24 enforce~
-rw-r--r--.  1 root root     1 11月 19 00:43 enforcx~
-rw-r--r--.  1 root root     1 11月 19 00:43 enforcy~
-rw-r--r--.  1 root root     1 11月 19 00:42 enforcz~
-rw-r--r--   1 root root   911  4月 29 18:29 memory_usage_check.log
drwxr-xr-t   2 root root     6 12月 21 22:58 thinclient_drives
drwxr-xr-x.  2 root root  4096  4月 24  2023 workspace</code></pre></div>



<p class="has-border -border01">１０個のファイルやディレクトリが表示されています。</p>



<p>次にaオプションもつけた以下のコマンドで見てみます。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>ls -al</code></pre></div>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>[root@localhost ~]# ls -al
合計 152
dr-xr-x---. 13 root root  4096  5月  4 17:27 .
dr-xr-xr-x. 17 root root   244 11月 19 12:58 ..
-rw-------   1 root root    67 12月 22 22:16 .Xauthority
-rw-------.  1 root root 17774  5月  4 22:10 .bash_history
-rw-r--r--.  1 root root    18 12月 29  2013 .bash_logout
-rw-r--r--.  1 root root   176 12月 29  2013 .bash_profile
-rw-r--r--.  1 root root   176 12月 29  2013 .bashrc
-rw-r--r--.  1 root root   100 12月 29  2013 .cshrc
drwx------   3 root root    25 12月 22 22:16 .dbus
-rw-r--r--   1 root root 12288  4月 25 23:36 .file1.txt.swo
-rw-r--r--   1 root root 12288  4月 25 00:26 .file1.txt.swp
drwx------   3 root root    19 12月 21 22:58 .local
-rw-------   1 root root  4035 12月 22 01:10 .mysql_history
drwxr-----   3 root root    19 12月 21 22:28 .pki
-rw-------   1 root root  1024 12月 21 22:31 .rnd
drwx------.  2 root root    25  1月 14  2023 .ssh
-rw-r--r--.  1 root root   129 12月 29  2013 .tcshrc
drwx------   2 root root    57 12月 21 22:58 .vnc
-rw-------   1 root root     0 12月 22 22:16 .xsession-errors
-rw-------.  1 root root  1257  1月  7  2023 anaconda-ks.cfg
drwxr-xr-x.  2 root root     6  4月 25  2023 backup
drwxr-xr-x.  3 root root    48  4月 13  2023 bash-completion
-rw-r--r--.  1 root root     1 11月 18 23:24 enforce~
-rw-r--r--.  1 root root     1 11月 19 00:43 enforcx~
-rw-r--r--.  1 root root     1 11月 19 00:43 enforcy~
-rw-r--r--.  1 root root     1 11月 19 00:42 enforcz~
-rw-r--r--   1 root root   911  4月 29 18:29 memory_usage_check.log
drwxr-xr-t   2 root root     6 12月 21 22:58 thinclient_drives
drwxr-xr-x.  2 root root  4096  4月 24  2023 workspace</code></pre></div>



<p>２９個のファイルやディレクトリが表示されました。</p>



<p class="has-border -border02"><span class="swl-marker mark_orange">「ls -a」コマンドで<strong><span class="swl-inline-color has-swl-deep-01-color">隠しファイルを表示</span></strong>する事ができました。</span></p>



<p class="is-style-icon_pen">lsコマンドのその他のオプションなどは以下の記事にまとめています。</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/programing_1122-7-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-ls-command/">【Linux】lsコマンドの使い方！オプションなどを使用する</a>
						<span class="p-blogCard__excerpt">Linuxサーバーでlsのコマンドの使い方をまとめます。 Linuxサーバーでディレクトリやファイルの表示方法での悩み Linuxサーバーでディレクトリ配下のファイルも表示した&#8230;</span>					</div>
				</div>
			</div>
		</div>


<h2 class="wp-block-heading">Linuxサーバーのその他の記事ご紹介</h2>



<p><span class="swl-inline-color has-swl-deep-01-color">Linuxサーバーのコマンドでファイル作成</span>する方法</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/08/DB0804-3-300x210.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-centos-file-create-command/">【Linux】CentOSでコマンドでファイル作成する方法｜エラー対処法あり</a>
						<span class="p-blogCard__excerpt">Linuxでテキストファイル作成したいです。 Linuxサーバーでファイル作成するのは基本ですね。コマンドでテキストファイル作成のやり方を教えますよ。 という事で今回はL&#8230;</span>					</div>
				</div>
			</div>
		</div>


<p>Linuxサーバーで<span class="swl-inline-color has-swl-deep-01-color">ファイル削除できない時の対処法</span></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/06/nayami111-4-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-cannot-delete-file/">【Linux】CentOSでファイル削除ができない時の原因と対処法</a>
						<span class="p-blogCard__excerpt">Linuxサーバでファイルが削除できない時はないでしょうか？ そういった時の対処法を、現役エンジニアの筆者が教えます。 わかりやすいように実例で図を用いて説明します&#8230;</span>					</div>
				</div>
			</div>
		</div>]]></content:encoded>
					
					<wfw:commentRss>https://sugublog.org/linux-hidden-file-display/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
