Files
tldr/pages.zh/common/tcsh.md

29 lines
546 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# tcsh
> C shell具有文件名补全和命令行编辑功能。
> 另见:`csh`。
> 更多信息:<https://manned.org/tcsh>。
- 启动一个交互式 shell 会话:
`tcsh`
- 启动一个不加载启动配置的交互式 shell 会话:
`tcsh -f`
- 执行特定的 [c]ommands
`tcsh -c "{{echo 'tcsh 被执行'}}"`
- 执行特定的脚本:
`tcsh {{path/to/script.tcsh}}`
- 检查特定脚本的语法错误:
`tcsh -n {{path/to/script.tcsh}}`
-`stdin` 执行特定命令:
`{{echo "echo 'tcsh 被执行'"}} | tcsh`