2021-11-14 02:01:08 +10:00
|
|
|
# csh
|
|
|
|
|
|
|
|
> The shell (command interpreter) with C-like syntax.
|
2022-06-05 15:15:56 +10:00
|
|
|
> See also: `tcsh`.
|
2021-11-14 02:01:08 +10: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 15:15:56 +10:00
|
|
|
- Execute specific [c]ommands:
|
2021-11-14 02:01:08 +10:00
|
|
|
|
2022-06-05 15:15:56 +10:00
|
|
|
`csh -c "{{echo 'csh is executed'}}"`
|
2021-11-14 02:01:08 +10:00
|
|
|
|
2022-06-05 15:15:56 +10:00
|
|
|
- Execute a specific script:
|
2021-11-14 02:01:08 +10:00
|
|
|
|
|
|
|
`csh {{path/to/script.csh}}`
|