From 5b8e52ff69f338c9749ab871e1569e3292310f15 Mon Sep 17 00:00:00 2001 From: Chris Qi Date: Sun, 8 Nov 2020 15:42:29 +0000 Subject: [PATCH] Small content update --- docs/notes/Java 基础.md | 2 +- docs/notes/Java 并发.md | 1 + docs/notes/Linux.md | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/notes/Java 基础.md b/docs/notes/Java 基础.md index ec6bee09..f8797cbf 100644 --- a/docs/notes/Java 基础.md +++ b/docs/notes/Java 基础.md @@ -1429,7 +1429,7 @@ public class Box { } ``` -- [Java 泛型详解](http://www.importnew.com/24029.html) +- [Java 泛型详解](https://www.cnblogs.com/Blue-Keroro/p/8875898.html) - [10 道 Java 泛型面试题](https://cloud.tencent.com/developer/article/1033693) # 十、注解 diff --git a/docs/notes/Java 并发.md b/docs/notes/Java 并发.md index 9bdcbb8f..d4aad2d0 100644 --- a/docs/notes/Java 并发.md +++ b/docs/notes/Java 并发.md @@ -611,6 +611,7 @@ public static void main(String[] args) { WaitNotifyExample example = new WaitNotifyExample(); executorService.execute(() -> example.after()); executorService.execute(() -> example.before()); + executorService.shutdown(); } ``` diff --git a/docs/notes/Linux.md b/docs/notes/Linux.md index b94740e7..56e8220a 100644 --- a/docs/notes/Linux.md +++ b/docs/notes/Linux.md @@ -1075,6 +1075,11 @@ dmtsai tty1 Fri May 29 11:55 - 12:11 (00:15) ```html $ last -n 5 | awk '{print $1 "\t" $3}' +dmtsai 192.168.1.100 +dmtsai 192.168.1.100 +dmtsai 192.168.1.100 +dmtsai 192.168.1.100 +dmtsai Fri ``` 可以根据字段的某些条件进行匹配,例如匹配字段小于某个值的那一行数据。