Unix preguntas y respuestas de entrevista
Diferencias relacionadas
Pregunta 16. How does the kernel differentiate device files and ordinary files?
Kernel checks 'type' field in the file's inode structure.
Pregunta 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.
Pregunta 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
Pregunta 19. What is redirection?
</SPAN>
Directing the flow of data to the file or from the file for input or output.
Example : ls > wc
Pregunta 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.
Lo mas util segun los usuarios:
- 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