Unix Interviewfragen und Antworten
Verwandte Vergleiche
Frage 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.
Frage 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.
Frage 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.
Frage 14. Name the data structure used to maintain file identification?
'inode', each file has a separate inode and a unique inode number.
Frage 15. How many prompts are available in a UNIX system?
Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt).
Am hilfreichsten laut Nutzern:
- 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