mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 03:55:31 +03:00
logsave, winget: add Chinese translation (#4517)
This commit is contained in:
parent
02d850e4c5
commit
350d9bd3f7
20
pages.zh/linux/logsave.md
Normal file
20
pages.zh/linux/logsave.md
Normal file
@ -0,0 +1,20 @@
|
||||
# logsave
|
||||
|
||||
> 将一个命令的输出保存在日志文件中.
|
||||
> 更多信息: <https://linux.die.net/man/8/logsave>.
|
||||
|
||||
- 使用指定的参数执行命令并将其输出保存到日志文件中:
|
||||
|
||||
`logsave {{path/to/logfile}} {{command}}`
|
||||
|
||||
- 从标准输入中获取输入并将其保存在日志文件中:
|
||||
|
||||
`logsave {{logfile}} -`
|
||||
|
||||
- 将输出追加到日志文件,而不是替换其当前内容:
|
||||
|
||||
`logsave -a {{logfile}} {{command}}`
|
||||
|
||||
- 显示详细输出:
|
||||
|
||||
`logsave -v {{logfile}} {{command}}`
|
16
pages.zh/windows/winget.md
Normal file
16
pages.zh/windows/winget.md
Normal file
@ -0,0 +1,16 @@
|
||||
# winget
|
||||
|
||||
> Windows 软件包管理器命令行工具.
|
||||
> 更多信息: <https://docs.microsoft.com/windows/package-manager/winget>.
|
||||
|
||||
- 安装一个软件包:
|
||||
|
||||
`winget install {{package}}`
|
||||
|
||||
- 显示关于一个软件包的信息:
|
||||
|
||||
`winget show {{package}}`
|
||||
|
||||
- 查找一个软件包:
|
||||
|
||||
`winget search {{package}}`
|
Loading…
Reference in New Issue
Block a user