Can anyone help me explain the difference between a C and a SHELL programming language?© BrainMass Inc. brainmass.com December 24, 2021, 7:06 pm ad1c9bdddf
SOLUTION This solution is FREE courtesy of BrainMass!
C is a complete procedural language. It has all the modalities of a modern computer programming language like variables, constants, standard libraries, loops, control-structures, , functions, pointers, etc. It can be used to solve highly complicated programming problems, including those of interest in scientific research and mathematical calculations, and is usually platform independent - it can be run on Windows, Unix, or Linux given that the C-compiler is installed on the machine.
Shell programming on the other hand is very primitive - it can be performed easily on Unix machines (though Windows machines also have the DOS prompt where you can execute shell commands) and is primarily used to issue commands, start and kill processes, control jobs, redirect input and output, list files, move or rename them, copy and print, etc. Complicated programming is not possible and it is not advisable to think about shell programming as being capable of doing scientific or mathematical and logical calculations.© BrainMass Inc. brainmass.com December 24, 2021, 7:06 pm ad1c9bdddf>