How do I see the current version of tcsh is running in my unix terminal?
+2
A:
Look at the version
variable:
% echo $version
tcsh 6.14.00 (Astron) 2005-03-25 (i386-intel-linux) options wide,nls,dl,al,kan,sm,rh,color,filec
Blrfl
2010-10-04 23:57:23
This was the first thing I tried before researching and posting the question. Why doesn't it work? (I would get the same result if I typed this in bash.)env | grep -i verTERM_PROGRAM_VERSION=273
noneme
2010-10-06 01:15:27
What you're looking for is a shell variable, which you won't find in the environment. BASH has its own equivalent called BASH_VERSION. Either can be substituted on the command line or found using the `set` built-in. TERM_PROGRAM_VERSION is added to the environment by Apple's terminal program and has nothing to do with the shell you're running.
Blrfl
2010-10-06 10:48:10