1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 19:55:27 +02:00

tcsh: refresh page (#7985)

This commit is contained in:
Emily Grace Seville 2022-07-01 08:21:02 +10:00 committed by GitHub
parent c377b5b4f9
commit df0ad135f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
# tcsh
> C shell with file name completion and command line editing.
> See also: `csh`.
> More information: <https://manned.org/tcsh>.
- Start an interactive shell session:
@ -11,18 +12,18 @@
`tcsh -f`
- Execute a [c]ommand:
- Execute specific [c]ommands:
`tcsh -c "{{command}}"`
`tcsh -c "{{echo 'tcsh is executed'}}"`
- Execute a script:
- Execute a specific script:
`tcsh {{path/to/script.tcsh}}`
- Check a script for syntax errors:
- Check a specific script for syntax errors:
`tcsh -n {{path/to/script.tcsh}}`
- Print the version:
- Execute specific commands from stdin:
`tcsh --version`
`{{echo "echo 'tcsh is executed'"}} | tcsh`