How many types of shell variables are there in Unix?

Đức Lưu

New member
How many types of shell variables are there in Unix?
Answer
A shell can have
two types of variables: Environment variables – Variables that are exported to all processes spawned by the shell.
…
Shell Environment.

Shell Type

Line to Add to the User Initialization File

C shell

setenv VARIABLE value Example: setenv MAIL /var/mail/ripley
 

Tìm kiếm

Back
Top