语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -3,13 +3,13 @@
<h2 id="补充说明">补充说明</h2>
<p><strong>sleep命令</strong> 暂停指定的时间。</p>
<h3 id="语法">语法</h3>
<pre><code>sleep(参数)</code></pre>
<pre><code class="language-bash">sleep(参数)</code></pre>
<h3 id="参数">参数</h3>
<p>时间:指定要暂停时间的长度。</p>
<p>时间长度,后面可接 s、m、h 或 d其中 s 为秒m 为 分钟h 为小时d 为日数。</p>
<h3 id="实例">实例</h3>
<p>有时在写一些以循环方式运行的监控脚本设置时间间隔是必不可少的下面是一个Shell进度条的脚本演示在脚本中生成延时。</p>
<pre><code>#!/bin/bash
<pre><code class="language-bash">#!/bin/bash
b=&#39;&#39;
for ((i=0;$i&lt;=100;i++))