tldr/pages/common/tcsh.md

29 lines
460 B
Markdown
Raw Permalink Normal View History

2021-11-14 19:35:13 +00:00
# tcsh
> C shell with file name completion and command line editing.
> More information: <https://manned.org/tcsh>.
- Start an interactive shell session:
`tcsh`
- Start an interactive shell session without loading startup configs:
`tcsh -f`
- Execute a [c]ommand:
`tcsh -c "{{command}}"`
- Execute a script:
`tcsh {{path/to/script.tcsh}}`
- Check a script for syntax errors:
`tcsh -n {{path/to/script.tcsh}}`
- Print the version:
`tcsh --version`