Unix Questions et reponses d'entretien
Differences associees
Question 16. How does the kernel differentiate device files and ordinary files?
Kernel checks 'type' field in the file's inode structure.
Question 17. 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 18. 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 19. What is redirection?
</SPAN>
Directing the flow of data to the file or from the file for input or output.
Example : ls > wc
Question 20. How to terminate a process which is running and the specialty on command kill 0?
With the help of kill command we can terminate the process.
Syntax: kill pid
Kill 0 - kills all processes in your system except the login shell.
Les plus utiles selon les utilisateurs :
- How are devices represented in UNIX?
- What is 'inode'?
- What difference between cmp and diff commands?
- Explain the steps that a shell follows while processing a command.
- Brief about the directory representation in UNIX