Skip to content

Commit

Permalink
Merge pull request #87 from fanofxiaofeng/patch-1
Browse files Browse the repository at this point in the history
Update condition.md
  • Loading branch information
ruanyf authored Nov 27, 2024
2 parents 45d093a + 5c0c71b commit 9e6450f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/condition.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ fi

以下表达式用来判断文件状态。

- `[ -a file ]`:如果 file 存在,则为`true`
- `[ -b file ]`:如果 file 存在并且是一个块(设备)文件,则为`true`
- `[ -c file ]`:如果 file 存在并且是一个字符(设备)文件,则为`true`
- `[ -d file ]`:如果 file 存在并且是一个目录,则为`true`
Expand Down

0 comments on commit 9e6450f

Please sign in to comment.