mirror of https://github.com/CrimsonTome/tldr.git
29 lines
460 B
Markdown
29 lines
460 B
Markdown
# 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`
|