From 8c78afa57ccdeb9756f2d371c6a2516a08576846 Mon Sep 17 00:00:00 2001 From: "rust-lang.xfoss.com" Date: Thu, 12 Oct 2023 14:40:05 +0800 Subject: [PATCH] Updated 'src/00_sh_bash.md'. --- src/00_sh_bash.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/00_sh_bash.md b/src/00_sh_bash.md index c75cb4f..92a9e97 100644 --- a/src/00_sh_bash.md +++ b/src/00_sh_bash.md @@ -26,3 +26,11 @@ ls | grep log | xargs sed -i 's/text-wrap: wrap;/text-wrap: wrap; white-space: p > **注**:将匹配当前文件夹下,文件名中包含 `log` 的文件,并将这些文件中的 `text-wrap: wrap;` 字符串,替换为 `text-wrap: wrap; white-space: pre-wrap;`,实现 HTML 的 `pre` 元素,在 Chrome(WebKit) 与 Firefox(Gecko) 下,都能自动断行。 +## 建立与更新软链接 + +```bash +// 建立软链接 +$ ln -s File link +// 更新软链接 +$ ln -vfns File1 link +```