<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>veazhi's bbs - command</title>
    <link>http://bbs.veazhi.com/forum-107-1.html</link>
    <description>Latest 20 threads of command</description>
    <copyright>Copyright(C) veazhi's bbs</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 05 Apr 2026 09:26:12 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://bbs.veazhi.com/static/image/common/logo_88_31.gif</url>
      <title>veazhi's bbs</title>
      <link>http://bbs.veazhi.com/</link>
    </image>
    <item>
      <title>美化终端</title>
      <link>http://bbs.veazhi.com/thread-199-1-1.html</link>
      <description><![CDATA[视频教程：https://www.youtube.com/watch?v=80PHRWH84Tc&amp;t=354s&amp;ab_channel=NovaspiritTech

字体安装

1.在当前用户（非 root）的家目录下创建 fonts 目录：
2.下载终端美化所需字体：
3.解压字体到字体目录：
4.执行命令，刷新字体库：
5.字体安装完成后，关闭终端。 ...]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Sun, 24 Aug 2025 00:51:15 +0000</pubDate>
    </item>
    <item>
      <title>如何彻底杀死僵尸进程</title>
      <link>http://bbs.veazhi.com/thread-190-1-1.html</link>
      <description><![CDATA[僵尸进程。

在使用 微信 截图的时候，突然电脑卡住了。但是又没有死机。并且在本机没法执行任何操作。于是通过远程方式连接到本电脑，查看进程：

使用 kill -9 35692 强制杀死这个僵尸进程，发现无法结束进程。


解决方法：

使用 ps -ef |egrep defunct | more 查 ...]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Thu, 21 Aug 2025 13:43:22 +0000</pubDate>
    </item>
    <item>
      <title>创建分区、格式化分区以及自动挂载分区（磁盘）</title>
      <link>http://bbs.veazhi.com/thread-172-1-1.html</link>
      <description><![CDATA[首先，使用 fdisk -l 命令，查看磁盘列表：

其次，使用 fdisk 命令对磁盘进行操作（删除分区、创建分区）：
然后，对磁盘进行格式化：

最后，对磁盘进行挂载（自动挂载）]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Wed, 13 Aug 2025 00:11:29 +0000</pubDate>
    </item>
    <item>
      <title>Shell 中 ()、(())、[]、[[]]、{} 的作用</title>
      <link>http://bbs.veazhi.com/thread-171-1-1.html</link>
      <description><![CDATA[小括号，圆括号()

1.单小括号 ()
1.1. 命令组：括号中的命令将会新开一个子shell顺序执行，所以括号中的变量不能够被脚本余下的部分使用。括号中多个命令之间用分号隔开，最后一个命令可以没有分号，各命令和括号之间不必有空格。

1.2 命令替换：等同于``，shell扫 ...]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Tue, 12 Aug 2025 12:14:05 +0000</pubDate>
    </item>
    <item>
      <title>使用 speedtest-cli 测试服务器宽带质量</title>
      <link>http://bbs.veazhi.com/thread-161-1-1.html</link>
      <description><![CDATA[在 linux 中，如何通过命令测试服务器网速呢？

1.安装 speedtest-cli 工具：

安装完成后，就可以直接在命令行执行 speedtest 测试服务器宽带质量了（下面是为香港的一台上下 10M 宽带的服务器测试）：




 ...]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Thu, 07 Aug 2025 13:12:30 +0000</pubDate>
    </item>
    <item>
      <title>快速查看命令是否存在</title>
      <link>http://bbs.veazhi.com/thread-130-1-1.html</link>
      <description><![CDATA[在 linux 中，经常有判断一个命令是否已存在的需求。

方法一：使用 which 
方法二：使用 command]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Sat, 02 Aug 2025 01:41:42 +0000</pubDate>
    </item>
    <item>
      <title>快速从软件下载的 url 中提取文件名</title>
      <link>http://bbs.veazhi.com/thread-128-1-1.html</link>
      <description><![CDATA[常常有需要从软件下载的 url 中快速将软件名称提取出来，方法有以下几种：

比如我的 url 为：https://soft.veazhi.com/jdk-8u202-linux-x64.tar.gz ，现在，我要提取文件名为：jdk-8u202-linux-x64.tar.gz

假设现在我用变量 soft_url 来接收软件下载地址，即：

方法 ...]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Fri, 01 Aug 2025 14:25:05 +0000</pubDate>
    </item>
    <item>
      <title>ctrl +z 挂起的进程怎么恢复</title>
      <link>http://bbs.veazhi.com/thread-103-1-1.html</link>
      <description><![CDATA[在动态查看 gitlab 日志时，按了下键盘上的 ctrl +z 键，将进程丢在后台挂起了：

怎么恢复呢？

首先，使用 jobs 命令查看后台有几个挂起的进程：
然后使用 fs NUM 恢复进程：]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Fri, 25 Jul 2025 08:55:06 +0000</pubDate>
    </item>
    <item>
      <title>linux 下生成随机 uuid 的几种方法</title>
      <link>http://bbs.veazhi.com/thread-17-1-1.html</link>
      <description><![CDATA[在 Linux 下，可以通过以下方法生成随机 uuid！


方法一：使用 uuidgen 命令（推荐）

如下，直接在命令行执行（有些 linux 发行版可能没有 uuidgen 命令，可以安装 util-linux 包）：


方法二：使用 cat 命令

如下，直接在命令行执行：


批量生成方法

创建一个批 ...]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Mon, 14 Jul 2025 11:44:15 +0000</pubDate>
    </item>
    <item>
      <title>linux 下生成随机端口的几种方法</title>
      <link>http://bbs.veazhi.com/thread-11-1-1.html</link>
      <description><![CDATA[在 Linux 下，可以通过以下方法生成随机端口！


方法一：使用 echo 直接生成：

如下，直接在命令行执行：


方法二：使用 shuf 命令：shuf 命令来自 coreutils 包，大多数 Linux 发行版中默认已安装。

如下，直接在命令行执行：


方法三：使用 Bash 内置命令生成：
 ...]]></description>
      <category>command</category>
      <author>admin</author>
      <pubDate>Mon, 14 Jul 2025 06:18:27 +0000</pubDate>
    </item>
  </channel>
</rss>