HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

csh — The shell (command interpreter) with C-like syntax. See also: `tcsh`. More information: <https://www

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theshellcommandcshcliwithinterpreter

Problem

How to use the csh command: The shell (command interpreter) with C-like syntax. See also: tcsh. More information: <https://www.mkssoftware.com/docs/man1/csh.1.asp>.

Solution

csh — The shell (command interpreter) with C-like syntax. See also: tcsh. More information: <https://www.mkssoftware.com/docs/man1/csh.1.asp>.

Start an interactive shell session:
csh


Start an interactive shell session [f]aster without loading startup configs:
csh -f


Execute specific [c]ommands:
csh -c "{{echo 'csh is executed'}}"


Execute a specific script:
csh {{path/to/script.csh}}

Code Snippets

Start an interactive shell session

csh

Start an interactive shell session [f]aster without loading startup configs

csh -f

Execute specific [c]ommands

csh -c "{{echo 'csh is executed'}}"

Execute a specific script

csh {{path/to/script.csh}}

Context

tldr-pages: common/csh

Revisions (0)

No revisions yet.