Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged shell-script
1.4k
views
1
answers
1
votes
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$ ... $-1$cat $* \cdot [$ ch $] \: \mid$ wc $-1$
Arjun
1.4k
views
Arjun
asked
Jul 2, 2019
Operating System
ugcnetcse-june2019-paper2
shell-script
+
–
552
views
0
answers
0
votes
GATE CSE 1989 | Question: 4-xiii
Provide short answers to the following questions:Consider the following sequence of UNIX commands:grep main a.c b.c c.c > grepout & wc < grepout & rm grepout &Why is this not equivalent to the following?grep main a.c.b.c c.c | wc
makhdoom ghaya
552
views
makhdoom ghaya
asked
Nov 30, 2016
Operating System
descriptive
gate1989
operating-system
shell-script
out-of-gate-syllabus
+
–
4.3k
views
1
answers
3
votes
UGC NET CSE | June 2016 | Part 3 | Question: 69
In Unix, files can be protected by assigning each one a 9-bit mode called rights bits, now, consider the following two statements:A mode of 641 (octal) ... I is correctOnly II is correctBoth I and II are correctBoth I and II are incorrect
go_editor
4.3k
views
go_editor
asked
Aug 21, 2016
Operating System
ugcnetcse-june2016-paper3
unix
shell-script
+
–
3.1k
views
1
answers
2
votes
UGC NET CSE | June 2016 | Part 3 | Question: 68
Which of the following statements is not correct with reference to cron daemon in UNIX OS?The cron daemon is the standard tool for running commands on ... lines and the times at which they invokedCrontab for individual users are not stored
go_editor
3.1k
views
go_editor
asked
Aug 21, 2016
Operating System
ugcnetcse-june2016-paper3
unix
shell-script
+
–
1.9k
views
1
answers
4
votes
UGC NET CSE | Junet 2015 | Part 3 | Question: 75
The unix command: ... ' command to move between the filesEdits file1 first, saves it and then edits file2
go_editor
1.9k
views
go_editor
asked
Aug 2, 2016
Operating System
ugcnetcse-june2015-paper3
shell-script
+
–
2.4k
views
1
answers
1
votes
UGC NET CSE | Junet 2015 | Part 2 | Question: 39
What does the following command do? grep -vn "abc" xIt will print all of the lines in the file x that match the search string "abc"It will print all of the ... specific line numbers of the file x in which there is a match for string "abc"
go_editor
2.4k
views
go_editor
asked
Jul 30, 2016
Operating System
ugcnetcse-june2015-paper2
operating-system
shell-script
non-gate
+
–
3.6k
views
1
answers
1
votes
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 ... O devices and files. The directories structure used is directed acyclic graph.
go_editor
3.6k
views
go_editor
asked
Jul 24, 2016
Operating System
ugcnetcse-sep2013-paper3
unix
shell-script
+
–
1.7k
views
1
answers
3
votes
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 ... ; do echo -i $i; donefor n in my first script; do echo -i $i; done
go_editor
1.7k
views
go_editor
asked
Jul 24, 2016
Operating System
ugcnetcse-sep2013-paper3
unix
shell-script
non-gate
+
–
1.7k
views
1
answers
0
votes
UGC NET CSE | June 2014 | Part 3 | Question: 39
Match the following with reference to Unix shell scripts $:$ ... $\text{a-i, b-iii, c-i, d-iv}$
makhdoom ghaya
1.7k
views
makhdoom ghaya
asked
Jul 10, 2016
Others
ugcnetjune2014iii
unix
shell-script
+
–
2.1k
views
1
answers
0
votes
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 threefor one two three; do echo-n-; donefor n in one two three; do echo-n $n; donefor n in one two three {echo –n $ n}
makhdoom ghaya
2.1k
views
makhdoom ghaya
asked
Jun 29, 2016
Others
ugcnetcse-june2014-paper2
non-gate
unix
shell-script
+
–
621
views
0
answers
0
votes
shell program
Which of the following commands willoutput “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}
Sanjay Sharma
621
views
Sanjay Sharma
asked
May 12, 2016
Operating System
shell-script
non-gate
+
–
3.4k
views
2
answers
7
votes
GATE IT 2005 | Question: 18
The shell commandfind -name passwd -printis executed in /etc directory of a computer system running Unix. Which of the following shell commands will ... executed in the same directory?ls passwdcat passwdgrep name passwdgrep print passwd
Ishrat Jahan
3.4k
views
Ishrat Jahan
asked
Nov 3, 2014
Operating System
gateit-2005
operating-system
shell-script
normal
out-of-syllabus-now
+
–
4.3k
views
2
answers
9
votes
GATE IT 2005 | Question: 17
A student wishes to create symbolic links in a computer system running Unix. Three text files named $``\text{file 1}", ``\text{file 2}"$ and ... from her file system?HobbiesFriendsCoursesI and II onlyII and III onlyII onlyI and III only
Ishrat Jahan
4.3k
views
Ishrat Jahan
asked
Nov 3, 2014
Operating System
gateit-2005
operating-system
shell-script
out-of-syllabus-now
normal
+
–
1.6k
views
1
answers
1
votes
GATE IT 2007 | Question: 59
The contents of the text file t1 txt containing four lines are as follows :a1 b1a2 b2a3 b2a4 b1The contents of the text file t2 ... given strings may be substrings of a printed line.)"b1 c1""b2 c3""b1 c2""b1 c3"
Ishrat Jahan
1.6k
views
Ishrat Jahan
asked
Oct 30, 2014
Operating System
gateit-2007
out-of-syllabus-now
shell-script
normal
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register