tldr/pages/common/csh.md

22 lines
410 B
Markdown
Raw Normal View History

2021-11-13 16:01:08 +00:00
# csh
> The shell (command interpreter) with C-like syntax.
2022-06-05 06:15:56 +01:00
> See also: `tcsh`.
2021-11-13 16:01:08 +00:00
> More information: <https://www.mkssoftware.com/docs/man1/csh.1.asp>.
- Start an interactive shell session:
`csh`
- Start an interactive shell session without loading startup configs:
`csh -f`
2022-06-05 06:15:56 +01:00
- Execute specific [c]ommands:
2021-11-13 16:01:08 +00:00
2022-06-05 06:15:56 +01:00
`csh -c "{{echo 'csh is executed'}}"`
2021-11-13 16:01:08 +00:00
2022-06-05 06:15:56 +01:00
- Execute a specific script:
2021-11-13 16:01:08 +00:00
`csh {{path/to/script.csh}}`