mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-17 08:26:32 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
<h2 id="补充说明">补充说明</h2>
|
||||
<p><strong>touch命令</strong> 有两个功能:一是用于把已存在文件的时间标签更新为系统当前的时间(默认方式),它们的数据将原封不动地保留下来;二是用来创建新的空文件。</p>
|
||||
<h3 id="语法">语法</h3>
|
||||
<pre><code>touch(选项)(参数)</code></pre>
|
||||
<pre><code class="language-bash">touch(选项)(参数)</code></pre>
|
||||
<h3 id="选项">选项</h3>
|
||||
<pre><code>-a:或--time=atime或--time=access或--time=use 只更改存取时间;
|
||||
<pre><code class="language-bash">-a:或--time=atime或--time=access或--time=use 只更改存取时间;
|
||||
-c:或--no-create 不建立任何文件;
|
||||
-d:<时间日期> 使用指定的日期时间,而非现在的时间;
|
||||
-f:此参数将忽略不予处理,仅负责解决BSD版本touch指令的兼容性问题;
|
||||
@@ -17,6 +17,6 @@
|
||||
<h3 id="参数">参数</h3>
|
||||
<p>文件:指定要设置时间属性的文件列表。</p>
|
||||
<h3 id="实例">实例</h3>
|
||||
<pre><code>touch ex2</code></pre>
|
||||
<pre><code class="language-bash">touch ex2</code></pre>
|
||||
<p>在当前目录下建立一个空文件ex2,然后,利用<code>ls -l</code>命令可以发现文件ex2的大小为0,表示它是空文件。</p>
|
||||
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|
||||
|
||||
Reference in New Issue
Block a user