From 681634db261ea3ce630a6ec73d6bb4ce457d880d Mon Sep 17 00:00:00 2001 From: nick Date: Tue, 29 May 2018 11:38:24 +0800 Subject: [PATCH] add --- other.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/other.md b/other.md index 1b930e8..9fdaf03 100644 --- a/other.md +++ b/other.md @@ -256,6 +256,14 @@ chsh -s /bin/zsh #更改当前用户的 shell ,更改完之后要重新登录 补充:`Ubuntu` 系统没 `-l` 选项 +#### tee 命令 + +``` +ls ~ | tee test.txt #查看指定目录的内容并写入文件 + +ls /usr/local/nginx | tee -a test.txt #查看并以追加的形式写入内容 +``` + #### nmap 命令 ```