Xref: utzoo comp.unix.questions:8914 comp.unix.wizards:10610 Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!amdcad!sun!pitstop!sundc!seismo!uunet!ndsuvax!ncsrini From: ncsrini@ndsuvax.UUCP (srini) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Shell/Cshell questions Keywords: Shell, Cshell, Unix Message-ID: <1145@ndsuvax.UUCP> Date: 20 Aug 88 21:26:38 GMT Organization: North Dakota State University Fargo, ND Lines: 38 Hello. Some questions on the working of the shell. I am using C shell. 1. When a variable is set, where and how is it kept track of? Like, is there a symbol table maintained by the shell. Or, is it something else. In any case, can the user access these tables to find out about the variables? The answer to this would probably expplain the mechanism of the command "set". 2. Where are the environment variables stored? Is it in the same pplace as other variables or not? 3. What is the exact use of .cshrc and .login? Can one replace the other? If so, what are the side effects? How are the subshells affected by these files? 4. Can somebody recommend a book or an article that deals with the working of the shell? I am looking for one that talks about Cshell syntax in detail, also. 5. Where are the pprograms (system) for different commands supppported by a shell usually located in a system? I looked in /bin etc, but couldn't find them. I guess this is enough for now. Let me add that there could be some silly questions above due to the fact that I am not a pro in shell programming or anything. But, your responses to all or some of the above will be greatly appreciated whether sent directly to me or to the net. Thank you all in advance. -- Srini (ncsrini at ndsuvax or ncsrini at plains.NoDak.edu ) (nu104046 at ndsuvm1 -- BITNET)