Unix Questions et reponses d'entretien
Differences associees
Question 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.
Question 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.
Question 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.
Question 14. Name the data structure used to maintain file identification?
'inode', each file has a separate inode and a unique inode number.
Question 15. How many prompts are available in a UNIX system?
Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt).
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