docs: linux, flink

master
JimZhang 2 years ago
parent 7ee4a54558
commit df18165dfc

@ -1,6 +1,7 @@
+++ +++
title = "Raft共识协议的一些细节" title = "Raft共识协议的一些细节"
date = 2022-10-13 date = 2022-10-13
draft = true
[taxonomies] [taxonomies]
tags=["Raft","分布式"] tags=["Raft","分布式"]
+++ +++

@ -4,7 +4,11 @@ date = 2022-09-15
[taxonomies] [taxonomies]
tags=["linux"] tags=["linux"]
+++ +++
### 带进度的wc ### 带进度的wc -l
```bash ```bash
awk 'BEGIN {T=0} (T!=systime()) { printf "%s %s\n",NR,$0 ; T=systime()} END { print NR}' awk 'BEGIN {T=0} (T!=systime()) { printf "%s %s\n",NR,$0 ; T=systime()} END { print NR}'
``` ```
#### 使用
```bash
cat file |awk 'BEGIN {T=0} (T!=systime()) { printf "%s %s\n",NR,$0 ; T=systime()} END { print NR}'
```
Loading…
Cancel
Save