Computer Science - Unix

Why Computer Science Unix?

In this section you can learn and practice Computer Science Questions based on "Unix" and improve your skills in order to face the interview, competitive examination and various entrance test (CAT, GATE, GRE, MAT, Bank Exam, Railway Exam etc.) with full confidence.

Where can I get Computer Science Unix questions and answers with explanation?

IndiaBIX provides you lots of fully solved Computer Science (Unix) questions and answers with Explanation. Solved examples with detailed answer description, explanation are given and it would be easy to understand. All students, freshers can download Computer Science Unix quiz questions with answers as PDF files and eBooks.

Where can I get Computer Science Unix Interview Questions and Answers (objective type, multiple choice)?

Here you can find objective type Computer Science Unix questions and answers for interview and entrance examination. Multiple choice and true or false type questions are also provided.

How to solve Computer Science Unix problems?

You can easily solve all kind of Computer Science questions based on Unix by practicing the objective type exercises given below, also get shortcut methods to solve Computer Science Unix problems.

Exercise :: Unix - Section 1

1. 

Which symbol will be used with grep command to match the pattern pat at the beginning of a line?

A. ^pat
B. $pat
C. pat$
D. pat^
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

2. 

Which command is used to sort the lines of data in a file in reverse order

A. sort
B. sh
C. st
D. sort -r
E. None of the above

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

3. 

Which command is used to display the top of the file?

A. cat
B. head
C. more
D. grep
E. None of the above

Answer: Option B

Explanation:

The head command displays the first few lines at the top of a file. It can be useful when you want a quick peek at a large file, as an alternative to opening the file.

4. 

Which command is used to copy all files having the string chap and any two characters after that to the progs directory?

A. cp chap?? progs
B. cp chap* progs
C. cp chap[12] /progs/*.*
D. cp chap?? /progs/*
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

5. 

Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?

A. chmod u+x emp[1-3]
B. chmod 777 emp*
C. chmod u+r ??? emp
D. chmod 222 emp?
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

1 2 3 4 5 6 7 8 9 10 Next »



Have a question?

Ask your question now !