Unix 面试题与答案
相关差异对比
问题 11. What is the use of the command "ls -x chapter[1-5]"
ls stands for list; so it displays the list of the files that starts with 'chapter' with suffix '1' to '5', chapter1, chapter2, and so on.
这有帮助吗?
添加评论
查看评论
问题 12. Is 'du' a command? If so, what is its use?
Yes, it stands for 'disk usage'. With the help of this command you can find the disk capacity and free space of the disk.
这有帮助吗?
添加评论
查看评论
问题 13. Is it possible to count number char, line in a file; if so, How?
Yes, wc-stands for word count.
wc -c for counting number of characters in a file.
wc -l for counting lines in a file.
这有帮助吗?
添加评论
查看评论
问题 14. Name the data structure used to maintain file identification?
'inode', each file has a separate inode and a unique inode number.
这有帮助吗?
添加评论
查看评论
问题 15. How many prompts are available in a UNIX system?
Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt).
这有帮助吗?
添加评论
查看评论
用户评价最有帮助的内容:
- 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