Tcsh is an enhanced, but completely compatible version of the Berkeley UNIX C shell (csh). It is a command language interpreter usable both as an interactive login shell and a shell script command processor.

learn more… | top users | synonyms

0
votes
0answers
29 views

environment variables $HOST and $HOSTTYPE

I am trying to install arcane software from this site version 4v0.31.01.07. Installation manual can be found here on page number 12. I tried the exact steps described on the site. I used a shell after ...
0
votes
0answers
35 views

cshell command takes first argument as an empty string

The file name is test.csh and it contains two lines: #!/bin/csh -e echo $1 I ran the command source test.csh abc, but I do not see abc as output. I am using Ubuntu 14.04.
0
votes
1answer
15 views

Is there an environment variable in csh to modify PS2?

Is there an environment variable in CSH to change the PS2 like in bash and sh? For example: $PS2 = "hi" I tried it but it doesn't work in csh.
1
vote
1answer
26 views

How do I turn off autolist in tcsh terminal

Since I upgraded to Trusty Tahr, whenever I do tab completion in the (tcsh) terminal it will complete as far as it can and then show me all of the options available. I hate this behavior and want it ...
2
votes
1answer
142 views

Sourcing a sh file is illegal in tcsh

After solving that one, I tried to source the sh script editing csh.cshrc. I added the following lines in its end: . /etc/fsl/5.0/fsl.sh setenv FREESURFER_HOME/home/User/freesurfer source ...
2
votes
1answer
210 views

fsl.sh cannot be sourced

I need to install FSL and Freesurfer as part of running Connectome Mapper. Freesurfer required changing the shell to tcsh in order to configure its folders. Now for FSL, I have to add to .profile the ...
1
vote
1answer
135 views

Ubuntu 14.04 and tcsh

I've tried the recommended method to install the TCSH shell in Ubuntu 14.04, sudo apt-get install tcsh but get the message: Unable to locate package tcsh Is there something else I need to ...
1
vote
2answers
867 views

check if folder does not exist in tcsh

When using the tcsh shell, how do I check if a folder does NOT exist? I can check if it exists by if ( -d /folder ) then but I want the if statement to work for folders that don't exist.
2
votes
2answers
1k views

No csh or tcsh?

In /bin, I see bash, but no csh or tcsh. When I created a ".cshrc" file in my home directory, it had no effect; that's how I discovered this problem. So the question is this: how do I switch to ...
1
vote
1answer
48 views

how to display quota info on lock screen?

Is it possible to display user quota info on lock screen or any message at least? because every time user lock in or unlock the first window he/she will look at is going to be lock screen.
1
vote
2answers
95 views

Adding hours to an arbitrary, unformatted date

I need to add 84 hours to a specific starting UTC date. The start UTC date is the current date but the starting hour is not. The code below works great until the end of the month when it can't convert ...
2
votes
1answer
56 views

Arithmetic with variables

I am trying to do arithmetic as I assign a variable a value. When the script reaches end_day it cannot do the math, and when I test it in the terminal it will simply return the expression. What do I ...
0
votes
1answer
155 views

Gui application for perl scripts and cshell

I am a very green to Linux. I am now taking a course at my studies basic of Linux. As part of my assessment I need to do some Perl scripts and C shell. But also we have been asked to build a GUI app ...
2
votes
1answer
129 views

Flexible vector construction in tcsh

vector generation is a technique which allows us to generate lists without defining iterators and write loops. They are useful in many situations, and can turn code to much more succinct and compact. ...