我见过这个问题:
并想询问现在如何在 Ubuntu 21.10 (Files 40.2) 中执行此操作,因为“首选项”对话框不再具有以前版本所具有的选项卡;即现在用作默认值的列集不再显示为首选项中的选项卡,我们如何设置默认值?
使用此 lz4 命令:
$ apt search ^lz4$
Sorting... Done
Full Text Search... Done
lz4/focal,now 1.9.2-2 amd64 [installed,automatic]
Fast LZ compression algorithm library - tool
$ lz4 --version
*** LZ4 command line interface 64-bits v1.9.2, by Yann Collet ***
Run Code Online (Sandbox Code Playgroud)
此命令通常会创建一个filename.lz4文件(就像 gzip 一样):
$ lz4 -9 -k filename
Run Code Online (Sandbox Code Playgroud)
然而,这个命令不会,而是在我没有告诉它时写入标准输出:
$ t=$(lz4 -9 -k filename)
Warning : using stdout as default output. Do not rely on this behavior: use explicit `-c` instead !
bash: warning: command substitution: ignored null byte in …Run Code Online (Sandbox Code Playgroud)