I have just installed Intel Parallel Studio and would now like to set up system variables, so Terminal can find the compilers etc.In the installation guides tell me to run some included set-up scripts or include them in my bash profile etc. That's cool.It always says though, for example:Set the environment variables before using the compiler. You can use  the source command to execute the shell script compilervars.sh or  compilervars.csh.However it doesn't explain the difference between the two variants anyway. I also am unable to find any comparisons of the two file extensions anywhere else online.The only things I might infer is that the .csh files are Mac OSX specific, from the line:On Linux* and OS X*, the file is a shell script called compilervars.sh or compilervars.cshI would like to know more details before running anything.
Difference between `.sh` and `.csh`
software installation;environment variables;intel
.sh is indicative of a script for the Bourne shell (sh) or the Bourne Again shell (bash), which is generally a superset of its predecessor..csh is indicative of a script for the C shell (csh), which, being a shell, is largely similar, but significantly different as soon as you start doing anything much more complex than running a series of static commands.Both shells are generally available on any POSIXy environment, and indeed both are often preinstalled, though bash (and its cousin sh) are a little more ubiquitous in my experience.I say 'indicative' above, because the idea of a file extension doesn't technically exist and has no semantic or syntactical meaning.  A file could be named script.steve or documentation.exe or include.h and still actually be a shell script.  For more definitive confirmation, look at the first line of the file.  For a script designed to be executed directly, it should start with a shebang line, which starts with an octothorpe (#), a bang (!), and the path to the executable which should run the script.  For example:#!/usr/local/bin/bashor#!/usr/bin/python3