Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Unix Interview Questions and Answers

Related differences

Linux vs Unix

Ques 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.

Is it helpful? Add Comment View Comments
 

Ques 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.

Is it helpful? Add Comment View Comments
 

Ques 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.

Is it helpful? Add Comment View Comments
 

Ques 14. Name the data structure used to maintain file identification?

'inode', each file has a separate inode and a unique inode number.

Is it helpful? Add Comment View Comments
 

Ques 15. How many prompts are available in a UNIX system?

Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt).

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2024 WithoutBook