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
shell program
Sanjay Sharma
asked
in
Operating System
May 12, 2016
570
views
0
votes
0
votes
Which of the following commands will
output “onetwothree” ?
(A) for val; do echo-n \$val; done <one two three
(B) for one two three; do echo-n-;done
(C) for n in one two three; do echo-n \$n; done
(D) for n in one two three {echo –n \$ n}
shell-script
non-gate
Sanjay Sharma
asked
in
Operating System
May 12, 2016
by
Sanjay Sharma
570
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.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
1
answer
1
go_editor
asked
in
Operating System
Jul 30, 2016
2,258
views
UGC NET CSE | Junet 2015 | Part 2 | Question: 39
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 ... "abc" It will print the specific line numbers of the file x in which there is a match for string "abc"
go_editor
asked
in
Operating System
Jul 30, 2016
by
go_editor
2.3k
views
ugcnetcse-june2015-paper2
operating-system
shell-script
non-gate
3
votes
3
votes
1
answer
2
go_editor
asked
in
Operating System
Jul 24, 2016
1,581
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.6k
views
ugcnetcse-sep2013-paper3
unix
shell-script
non-gate
0
votes
0
votes
1
answer
3
makhdoom ghaya
asked
in
Others
Jun 29, 2016
1,939
views
UGC NET CSE | June 2014 | Part 2 | Question: 35
Which of the following commands will output “onetwothree” ? for val; do echo-n $val; done < one two three for one two three; do echo-n-; done for n in one two three; do echo-n $n; done for n in one two three {echo –n $ n}
makhdoom ghaya
asked
in
Others
Jun 29, 2016
by
makhdoom ghaya
1.9k
views
ugcnetcse-june2014-paper2
non-gate
unix
shell-script
1
vote
1
vote
1
answer
4
Arjun
asked
in
Operating System
Jul 2, 2019
1,281
views
UGC NET CSE | June 2019 | Part 2 | Question: 50
Which of the following UNIX/Linux pipes will count the number of lines in all the files having .c and .h as their extension in the current working directory? cat $* \cdot$ ch $ \: \mid$ wc $-1$ cat $* \cdot [$ c-h $] \: \mid$ wc $-1$ cat $* \cdot [$ ch $] \: \mid$ ls $-1$ cat $* \cdot [$ ch $] \: \mid$ wc $-1$
Arjun
asked
in
Operating System
Jul 2, 2019
by
Arjun
1.3k
views
ugcnetcse-june2019-paper2
shell-script
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
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
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy