docs(linux): 添加Linux零散命令文档并更新导航

添加包含常用Linux命令的文档,并在导航配置中增加对应链接
This commit is contained in:
祀梦
2026-01-04 09:50:14 +08:00
parent d08ce7e3e7
commit 09e9d996f8
2 changed files with 17 additions and 0 deletions

View File

@@ -139,6 +139,11 @@ const linux = defineNoteConfig({
text: "Linux 基础", prefix: "/linux", items: [
{ text: "Linux 基础命令详解", link: "/ops/linux/basic-commands/" }
]
},
{
text: "其他", prefix: "/linux", items: [
{ text: "一些零散的命令", link: "/ops/linux/other/" }
]
}
]
})

View File

@@ -0,0 +1,12 @@
---
title: 一些零散的命令
createTime: 2025/12/31 10:00:30
permalink: /ops/linux/other/
---
## 文件处理相关
统计当前目录下的所有文件加起来有多少行
```
wc -l * | tail -n 1
```