Unix 面试题与答案
相关差异对比
问题 16. How does the kernel differentiate device files and ordinary files?
Kernel checks 'type' field in the file's inode structure.
这有帮助吗?
添加评论
查看评论
问题 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.
这有帮助吗?
添加评论
查看评论
问题 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
这有帮助吗?
添加评论
查看评论
问题 19. What is redirection?
</SPAN>
Directing the flow of data to the file or from the file for input or output.
Example : ls > wc
这有帮助吗?
添加评论
查看评论
问题 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.
这有帮助吗?
添加评论
查看评论
用户评价最有帮助的内容:
- 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