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 | September 2013 | Part 3 | Question: 72
go_editor
asked
in
Operating System
Jul 24, 2016
recategorized
Nov 12, 2017
by
Sanjay Sharma
1,008
views
3
votes
3
votes
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
ugcnetcse-sep2013-paper3
unix
shell-script
non-gate
go_editor
asked
in
Operating System
Jul 24, 2016
recategorized
Nov 12, 2017
by
Sanjay Sharma
by
go_editor
1.0k
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
2
votes
2
votes
ans should be C
for loop has control variable i which will be assigned he value after it and do apply for loop to print it should be enclosed in do...done block
echo -i $i display the currrent contents of i
Sanjay Sharma
answered
Jul 24, 2016
by
Sanjay Sharma
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
Answer:
C
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
1
answer
1
go_editor
asked
in
Operating System
Jul 24, 2016
3,076
views
UGC NET CSE | September 2013 | Part 3 | Question: 75
Which of the following statements is not true for UNIX Operating System? Major strength of UNIX Operating System is its open standards which enables large number of organizations ranging from academicia to industries to participate in ... simplify the management of I/O devices and files. The directories structure used is directed acyclic graph.
go_editor
asked
in
Operating System
Jul 24, 2016
by
go_editor
3.1k
views
ugcnetcse-sep2013-paper3
unix
shell-script
0
votes
0
votes
1
answer
2
makhdoom ghaya
asked
in
Others
Jun 29, 2016
1,641
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.6k
views
ugcnetcse-june2014-paper2
non-gate
unix
shell-script
2
votes
2
votes
1
answer
3
go_editor
asked
in
Operating System
Jul 24, 2016
1,062
views
UGC NET CSE | September 2013 | Part 3 | Question: 74
Match the following for Windows Operating System $:$ ... $\text{(a)-(iii), (b)-(ii), (c)-(i), (d)-(iv)}$
go_editor
asked
in
Operating System
Jul 24, 2016
by
go_editor
1.1k
views
ugcnetcse-sep2013-paper3
operating-system
unix
3
votes
3
votes
1
answer
4
go_editor
asked
in
Others
Jul 22, 2016
3,544
views
UGC NET CSE | September 2013 | Part 3 | Question: 4
Which of the following is not a part of an expert system shell? Knowledge base Interference engine Explanation facility None of the above
go_editor
asked
in
Others
Jul 22, 2016
by
go_editor
3.5k
views
ugcnetcse-sep2013-paper3
unix
linux
shell
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
Yes, CDU provides assistance for internships...
Are you fully aware of the job opportunities in...
When this exam will happen ?
Can Someone guide me how to prepare for interview...
It's not a standard resource, don't follow them.
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy