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

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,23 +3,23 @@
<h2 id="补充说明">补充说明</h2>
<p><strong>resize命令</strong> 命令设置终端机视窗的大小。执行resize指令可设置虚拟终端机的视窗大小。</p>
<h3 id="语法">语法</h3>
<pre><code>resize [-cu][-s &lt;列数&gt; &lt;行数&gt;]</code></pre>
<pre><code class="language-bash">resize [-cu][-s &lt;列数&gt; &lt;行数&gt;]</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-c  就算用户环境并非C Shell也用C Shell指令改变视窗大小。
<pre><code class="language-bash">-c  就算用户环境并非C Shell也用C Shell指令改变视窗大小。
-s &lt;列数&gt; &lt;行数&gt;  设置终端机视窗的垂直高度和水平宽度。
-u  就算用户环境并非Bourne Shell也用Bourne Shell指令改变视窗大小。</code></pre>
<h3 id="实例">实例</h3>
<p>使用 C shell</p>
<pre><code>[root@localhost ~]# resize -c
<pre><code class="language-bash">[root@localhost ~]# resize -c
set noglob;
setenv COLUMNS &#39;99&#39;;
setenv LINES &#39;34&#39;;
unset noglob;</code></pre>
<p>使用 Bourne shell</p>
<pre><code>[root@localhost ~]# resize -u
<pre><code class="language-bash">[root@localhost ~]# resize -u
COLUMNS=99;
LINES=34;
export COLUMNS LINES;</code></pre>
<p>设置指定大小</p>
<pre><code>[root@localhost ~]# resize -s 80 160</code></pre>
<pre><code class="language-bash">[root@localhost ~]# resize -s 80 160</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->