Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
UGC NET CSE | Junet 2015 | Part 2 | Question: 39
go_editor
asked
in
Operating System
Jul 31, 2016
edited
May 26, 2020
by
Arjun
1,882
views
1
vote
1
vote
What does the following command do? grep -vn "abc" x
It will print all of the lines in the file x that match the search string "abc"
It will print all of the lines in file x that do not match the search string "abc"
It will print the total number of lines in the file x that match the search string "abc"
It will print the specific line numbers of the file x in which there is a match for string "abc"
ugcnetcse-june2015-paper2
operating-system
shell-script
non-gate
go_editor
asked
in
Operating System
Jul 31, 2016
edited
May 26, 2020
by
Arjun
by
go_editor
1.9k
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
1
vote
1
vote
ans is B grep(globally search a regular expression and print it) with -v invert match option display those line which do not contain the specified string
Sanjay Sharma
answered
Jul 31, 2016
edited
Jun 17, 2018
by
Sanjay Sharma
by
Sanjay Sharma
comment
Follow
share this
1 comment
by
AadilRashid
commented
Jun 15, 2018
reply
Follow
share this
Thank you for the answer but it cannot be v for verbose that doesn't make sense, it is v for invert-match!
1
1
Please
log in
or
register
to add a comment.
Answer:
B
← Previous
Next →
← Previous in category
Next in category →
Related questions
3
votes
3
votes
2
answers
1
go_editor
asked
in
Operating System
Jul 31, 2016
8,762
views
UGC NET CSE | Junet 2015 | Part 2 | Question: 38
A LRU page replacement is used with $4$ page frames and eight pages. How many page faults will occur with the reference string $0172327103$ if the four frames are initially empty? $6$ $7$ $5$ $8$
go_editor
asked
in
Operating System
Jul 31, 2016
by
go_editor
8.8k
views
ugcnetcse-june2015-paper2
operating-system
page-replacement
3
votes
3
votes
2
answers
2
go_editor
asked
in
Operating System
Jul 31, 2016
8,831
views
UGC NET CSE | Junet 2015 | Part 2 | Question: 36
A disk drive has $100$ cylinders, numbered $0$ to $99$. Disk requests come to the disk driver for cylinders $12, 26, 24, 4, 42, 8$ and $50$ in that order. The driver is currently serving a request at a cylinder $24$. A seek takes $6$ ... seek time is needed for shortest seek time first (SSTF) algorithm? $0.984$ sec $0.396$ sec $0.738$ sec $0.42$ sec
go_editor
asked
in
Operating System
Jul 31, 2016
by
go_editor
8.8k
views
ugcnetcse-june2015-paper2
operating-system
disk-scheduling
4
votes
4
votes
1
answer
3
go_editor
asked
in
Operating System
Aug 2, 2016
1,614
views
UGC NET CSE | Junet 2015 | Part 3 | Question: 75
The unix command: $ vi file1 file2 Edits file1 and stores the contents of file1 in file2 Both files i.e., file1 and file2 can be edited using 'ex' command to travel between the files Both files can be edited using 'mv' command to move between the files Edits file1 first, saves it and then edits file2
go_editor
asked
in
Operating System
Aug 2, 2016
by
go_editor
1.6k
views
ugcnetcse-june2015-paper3
shell-script
3
votes
3
votes
1
answer
4
go_editor
asked
in
Operating System
Jul 24, 2016
1,008
views
UGC NET CSE | September 2013 | Part 3 | Question: 72
Which of the following shell scripts will produce the output “my first script”? for i in my first script { echo –i $i } for my first script; do echo –n; done for i in my first script; do echo –i $i; done for n in my first script; do echo –i $i; done
go_editor
asked
in
Operating System
Jul 24, 2016
by
go_editor
1.0k
views
ugcnetcse-sep2013-paper3
unix
shell-script
non-gate
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
From GATE to Australia
DRDO Previous Year Papers
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
All India GO Classes Mock test
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(74)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
This guy was just exceptional. I remember hearing...
Inspirational! Found the right Blog at the right...
That was my second attempt. I already had notes,...
Sorry to break the news, but: I see a few flaws...
bhai mujhe bhi bula lo australia......mai bhi...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy