Question 6 :
How many prompts are available in a UNIX system?
Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt).
Question 7 :
How does the kernel differentiate device files and ordinary files?
Kernel checks 'type' field in the file's inode structure.
Question 8 :
How to switch to a super user status to gain privileges?
Use 'su' command. The system asks for password and when valid entry is made the user gains super user (admin) privileges.
Question 9 :
What are shell variables?
Shell variables are special variables, a name-value pair created and maintained by the shell.
Example: PATH, HOME, MAIL and TERM
Question 10 :
What is redirection?
Directing the flow of data to the file or from the file for input or output.
Example : ls > wc