Top "Csh" questions

csh, or the C shell, is a command interpreter with a syntax reminiscent of the C programming language.

Self concatenate strings on csh

I need to concatenate partial content from argv to one of my variable. I will show you my code: #!/bin/…

string shell concatenation csh argv
How to color a prompt on FreeBSD/cshrc?

I'm being put in charge of managing a bunch of servers, I want to set up my prompts on each …

freebsd csh tcsh
csh idioms to check for environment variable existence?

I've got a few csh scripts where I need to check that certain environment variables are set before I start …

environment-variables csh
How can I read one line at a time with C shell in unix

I try to make a small script, using c shell, that will take a file made of several lines, each …

unix csh
SSH then change Shell

Potentially a real easy question but I was wondering if anybody can kindly provide some advice. To accomplish a repeating …

bash login ssh solaris csh
How can I echo commands in a tcsh script?

Yes. I know I shouldn't be using it for scripting. Yes. It is rubbish. I am indeed a fool. Nevertheless. …

debugging echo csh tcsh
Output of last shell command

Not until midway through a 3 hour build script, I'll remember that I want to see something at the beginning of …

csh
Invoking shell from java, it complaints "stty: standard input: Invalid argument"

I invoke a shell command by Process class from java and it prints "stty: standard input: Invalid argument" no matter …

java bash csh
How to add date string to each line of a continuously written log file

Having a long running program that continuously writes to a logfile - how is it possible, disregarding any buffering issues, …

linux bash string logging csh
Redirecting stderr in csh

I'm executing a program that dumps crash report into STDERR from where I have to filter some necessary information. The …

linux shell csh tcsh