jaywcjlove / jaywcjlove/linux-command

taril -f/F 细节需要更改

Open
#388 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Markdown
Stars
36.9k
Forks
6.6k
PR merge metrics
No merged PRs in 30d

Description

```shell
tail -f xxx #当文件被删除后,就算重新创建不能实时查看
tail -F xxx #能够实时查看文件内容,文件删除重新创建依然能够实时查看
```
使用echo写入内容实验
![image](https://user-images.githubusercontent.com/62205861/180166147-eb28f98d-0c16-4c0c-9acb-95cedd3c072e.png)
![image](https://user-images.githubusercontent.com/62205861/180166101-06c80d85-b198-40c9-88a0-5f0f0148f007.png)
![image](https://user-images.githubusercontent.com/62205861/180166392-9560e05e-891b-4a2e-8bfd-31df8e01962e.png)
![image](https://user-images.githubusercontent.com/62205861/180166470-03ae87e7-9d68-4b56-a3f3-4c2614ce0d7c.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.