docs(linux): 添加Linux零散命令文档并更新导航
添加包含常用Linux命令的文档,并在导航配置中增加对应链接
This commit is contained in:
@@ -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/" }
|
||||
]
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
12
docs/notes/ops/linux/other.md
Normal file
12
docs/notes/ops/linux/other.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: 一些零散的命令
|
||||
createTime: 2025/12/31 10:00:30
|
||||
permalink: /ops/linux/other/
|
||||
---
|
||||
|
||||
## 文件处理相关
|
||||
|
||||
统计当前目录下的所有文件加起来有多少行
|
||||
```
|
||||
wc -l * | tail -n 1
|
||||
```
|
||||
Reference in New Issue
Block a user