Unix perguntas e respostas de entrevista
Diferencas relacionadas
Pergunta 16. How does the kernel differentiate device files and ordinary files?
Kernel checks 'type' field in the file's inode structure.
Pergunta 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.
Pergunta 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
Pergunta 19. What is redirection?
</SPAN>
Directing the flow of data to the file or from the file for input or output.
Example : ls > wc
Pergunta 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.
Mais uteis segundo os 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