Showing posts with label UNIX and OS. Show all posts
Showing posts with label UNIX and OS. Show all posts

Monday, 10 June 2013

UNIX and OS Important material for UGC NET Computer Science Exam

                                                 Unix and OS Solved MCQS

1. The data structure used by UNIX to maintain file identification is
Ans.: inode
Explanation: Every file has a separate inode and unique inode number.

2. What does the command 'wc' perform in unix?

Ans.: It performs word count.
Side note: 'wc-c' counts number of characters in a file.
'wc-l' counts lines in a file.

3. What meant by redirection?

Ans.: It is used to direct the flow of data to the file or from the file for input or output of another file.


 4. Difference between absolute path and relative path
Ans.: Absolute path: Exact path from root directory.
Relative path: Relative to current path.