-
What does the init process do?
-
What is the function of the login process?
-
How do you know what shell you are using?
-
How can you change your login shell?
-
Explain the difference between the . cshrc /.tcshrc and .login files. Which one is executed first?
-
Edit your .cshrc/.tcshrc file as follows :
-
Create three of your own aliases.
-
Reset your prompt.
-
Set the following variables and put a comment after each variable explaining what it does:
noclobber # Protects clobbering files from redirection overwriting history ignoreeof savehist filec
-
Type the following: source .cshrc source .tcshrc . What does the source command do?
-
Edit your .login file as follows:
-
Welcome the user .
-
Add your home directory to the path if it is not there.
-
Source the .login file.
-
Type history . What is the output?
-
How do you re-execute the last command?
-
Now type echo a b c. Use the history command to re-execute the echo command with only its last argument, c .