Home
10th Grade
11th And 12th
11th Grade
12th Grade
3rd Grade
4th Grade
5th Grade
6th Grade
7th Grade
8th Grade
9th Grade
Advance Accountancy
Auditing
Computer Aptitude
Direct And Indirect Taxation
Exams
General Hindi
Indian Finance System
Information Technology And Application In Business
Macro Economics
Town Planning
Aerospace And Aeronautical
Analytical Instrumentation
Banking Awareness
Banking Exam
Biochemistry
Bioinformatics
Biology
Biotechnology
Business Statistics
C Program
C Programming
C++ Programming
Career Aptitude Test
Cell Biology
Central Superior Service (css)
Chemical Engineering
Chemistry
Civil Engineering
Commerce
Computer
Computer Fundamentals
Computer Science
Cost Accounting
Css
Database
Drug And Pharmaceutical Biotechnology
Ecat And Mcat Entry Test
Economics
Electrical Engineering
Electrical Engineering Questions
Electrical Measurement And Instrumentation
Engineering
English
English Literature
Environment Management
Environmental Biotechnology
Enzyme Technology
Financial Management And Financial Markets
Gate
General Knowledge
Graduate Assessment Test (gat)
Health And Physical
Heat Transfer
Html
Human Anatomy And Physiology
Human And Cultural Diversity
Human Resource Management
Ias
Indian Economy
Indian Economy
Indian General Awareness
Indian Geography
Indian Geography
Indian History
Indian History
Indian Polity
Instrumentation Transducers
International Relations
Java Program
Javascript
Judiciary And Law
Life Sciences
Management
Marketing And Marketing Management
Mass Transfer
Mechanical Engineering
Mechanics Of Materials
Medical Subjects
Microbiology
Networking
Php
Placement Tests
Professional Communication
Quantitative Aptitude
Reasoning Aptitude
Renewable Energy
Science
Sociology
Sql
Surveying
Total Quality Management
Uidai Aadhaar Supervisor Certification
Virology
Notificatin
Exam
Blog
Contact Us
Unix(Computer Science ) Questions and Answers
Home
Topic
Computer Science
Unix
Question 1.
Which symbol will be used with grep command to match the pattern pat at the beginning of a line?
^pat
$pat
pat$
pat^
None of the above
Explanation:-
Answer: Option A. ->
^pat
Question 2.
Which command is used to sort the lines of data in a file in reverse order
sort
sh
st
sort -r
None of the above
Explanation:-
Answer: Option D. ->
sort -r
Question 3.
Which command is used to display the top of the file?
cat
head
more
grep
None of the above
Explanation:-
Answer: Option B. ->
head
Question 4.
Which command is used to copy all files having the string chap and any two characters after that to the progs directory?
cp chap?? progs
cp chap* progs
cp chap[12] /progs/*.*
cp chap?? /progs/*
None of the above
Explanation:-
Answer: Option A. ->
cp chap?? progs
Question 5.
Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?
chmod u+x emp[1-3]
chmod 777 emp*
chmod u+r ??? emp
chmod 222 emp?
None of the above
Explanation:-
Answer: Option A. ->
chmod u+x emp[1-3]
Question 6.
Which command is used to remove a directory?
rd
rmdir
dldir
rdir
None of the above
Explanation:-
Answer: Option B. ->
rmdir
Question 7.
Which of the following keys is used to replace a single character with new text?
S
s
r
C
None of the above
Explanation:-
Answer: Option B. ->
s
Question 8.
Which command sends the word count of the file infile to the newfile.
wc infile >newfile
wc newfile
wc infile - newfile
wc infile | newfile
None of the above
Explanation:-
Answer: Option A. ->
wc infile >newfile
Question 9.
Which command is used to extract specific columns from the file?
cat
cut
grep
paste
None of the above
Explanation:-
Answer: Option B. ->
cut
Question 10.
Which command is used to remove the read permission of the file 'note' from both the group and others?
chmod go+r note
chmod go+rw note
chmod go-x note
chmod go-r note
None of the above
Explanation:-
Answer: Option D. ->
chmod go-r note
1
2
3
4
5
6
7
...
29
30
Next →
One click Login
Login With Google
Old way of Login
Login With Email