<?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>ls | SDT 攻城獅區</title>
	<atom:link href="https://sdt.hameba.tw/tag/ls/feed/" rel="self" type="application/rss+xml" />
	<link>https://sdt.hameba.tw</link>
	<description>由Steven, Der, Ted 三位高級打字員所組成，是三位工程師(攻城獅)所維護的技術分享平台，或許偶爾會分享一些日常，有任何問題或是錯誤的部分，歡迎留言告訴我們！</description>
	<lastBuildDate>Tue, 07 Jan 2020 16:51:43 +0800</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3</generator>

<image>
	<url>https://sdt.hameba.tw/wp-content/uploads/2020/02/hameba_favicon-150x150.png</url>
	<title>ls | SDT 攻城獅區</title>
	<link>https://sdt.hameba.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Linux 指令 ls 以時間做排序列出檔案</title>
		<link>https://sdt.hameba.tw/468/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linux-%25e6%258c%2587%25e4%25bb%25a4-ls-%25e4%25bb%25a5%25e6%2599%2582%25e9%2596%2593%25e5%2581%259a%25e6%258e%2592%25e5%25ba%258f%25e5%2588%2597%25e5%2587%25ba%25e6%25aa%2594%25e6%25a1%2588</link>
				<comments>https://sdt.hameba.tw/468/#respond</comments>
				<pubDate>Tue, 07 Jan 2020 16:51:43 +0000</pubDate>
		<dc:creator><![CDATA[Ted]]></dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ls]]></category>

		<guid isPermaLink="false">https://sdt.hameba.tw/?p=468</guid>
				<description><![CDATA[<p>Linux 指令 ls 以時間排序列出檔案，上網查了一下文章，這邊做個筆記記錄一下。 [crayon-63ac &#8230; </p>
<p class="link-more"><a href="https://sdt.hameba.tw/468/" class="more-link">閱讀全文<span class="screen-reader-text">〈Linux 指令 ls 以時間做排序列出檔案〉</span></a></p>
The post <a href="https://sdt.hameba.tw/468/">Linux 指令 ls 以時間做排序列出檔案</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></description>
								<content:encoded><![CDATA[<p>Linux 指令 ls 以時間排序列出檔案，上網查了一下文章，這邊做個筆記記錄一下。</p>
<p><span id="more-468"></span></p><pre class="crayon-plain-tag"># 列出檔案，如果要以修改檔案的時間排序，只要加入參數 -t 即可
# 預設都會由最近的時間開始往下排
ls -lt

# 如果順序要由遠到近的話，只要在補上參數 -r 即可
ls -ltr</pre><p>如果不確定是否真的是按造修改的時間來排序，可以使用 <code>touch</code> 指令，來更改指定檔案或目錄的時間戳記 ，然後再馬上以 <code>ls -lt</code> 指令查看修改時間，通常被 touch 指令的檔案都會跑到最上面，因為他的更動時間已經被更改了。</p>
<div id="gtx-trans">
<div class="gtx-trans-icon"></div>
</div>The post <a href="https://sdt.hameba.tw/468/">Linux 指令 ls 以時間做排序列出檔案</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></content:encoded>
							<wfw:commentRss>https://sdt.hameba.tw/468/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>如何在 Linux 上看到隱藏檔案</title>
		<link>https://sdt.hameba.tw/326/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e5%25a6%2582%25e4%25bd%2595%25e5%259c%25a8-linux-%25e4%25b8%258a%25e7%259c%258b%25e5%2588%25b0%25e9%259a%25b1%25e8%2597%258f%25e6%25aa%2594%25e6%25a1%2588</link>
				<comments>https://sdt.hameba.tw/326/#respond</comments>
				<pubDate>Tue, 10 Dec 2019 05:51:21 +0000</pubDate>
		<dc:creator><![CDATA[Li Der]]></dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ls]]></category>

		<guid isPermaLink="false">https://sdt.hameba.tw/?p=326</guid>
				<description><![CDATA[<p>在 Linux 環境中，要列出該目錄的檔案清單， 常常會使用到『 ls 』這個指令。 那如果想要看到隱藏檔案的 &#8230; </p>
<p class="link-more"><a href="https://sdt.hameba.tw/326/" class="more-link">閱讀全文<span class="screen-reader-text">〈如何在 Linux 上看到隱藏檔案〉</span></a></p>
The post <a href="https://sdt.hameba.tw/326/">如何在 Linux 上看到隱藏檔案</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></description>
								<content:encoded><![CDATA[<p>在 Linux 環境中，要列出該目錄的檔案清單，</p>
<p>常常會使用到『 ls 』這個指令。</p>
<p><span id="more-326"></span></p>
<p>那如果想要看到隱藏檔案的話，</p>
<p>這時候指令就要加上一些參數了。</p>
<ul>
<li>-a 列出隱藏檔案</li>
<li>-l 列出檔案權限、檔案擁有者、擁有者群組、檔案大小、修改日期</li>
</ul>
<p>通常會搭配使用，如下：</p><pre class="crayon-plain-tag">ls -al</pre><p>這樣就可以清楚地知道檔案的資訊了！</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>參考資料：</p>
<p><a href="http://linux.vbird.org/linux_basic/0220filemanager.php#ls">http://linux.vbird.org/linux_basic/0220filemanager.php#ls</a></p>The post <a href="https://sdt.hameba.tw/326/">如何在 Linux 上看到隱藏檔案</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></content:encoded>
							<wfw:commentRss>https://sdt.hameba.tw/326/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
