Welcome to www.mcqtutorial.com!!!!
      
      
MCQ Tutorial Search
Home Search Add Question Today's History Discussion Board Job Portal Linux Linux Basics File and Folder
Environment

Command

Process Memory Shell Programming Mock Test Contact Feedback
Home
Search
Add Question
Today's History
Discussion Board
Job Portal
Linux
Linux Basics
File and Folder
Environment

Command

Process
Memory
Shell Programming
Mock Test
Subscribe/Unsubscribe
Email:
Social Media
Facebook

Misc Tutorials

References

Question and Answer Tutorial
Tutorials Point
Stack Overflow

MCQ Tutorial - Linux->Command

                        
First Previous ... 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 Next Last
136.) What is the output of this program?
   #! /usr/bin/awk -f
   BEGIN {
       for(i=0;i<=5;i++) {
           print i
           i++
       }
   }
Options are:
A.) Syntax error because i is not initialised
B.) 0,2,4 will print
C.) 1,3,5 will print
D.) 1,2,3,4,5 will print
137.) Which command creates an empty file if file does not exist?
Options are:
A.) cat
B.) read
C.) touch
D.) ed
138.) Which option of rm command is used to remove a directory with all its subdirectories
Options are:
A.) –p
B.) –r
C.) –b
D.) –o
139.) What is the output of this program?
   #! /usr/bin/awk -f
   BEGIN 
   {
       two=2;
       two++;
       print two 
   }
Options are:
A.) Two
B.) 2
C.) 3
D.) Three
140.) What is sed?
Options are:
A.) A non-interactive stream editor
B.) None of the options
C.) An IDE
D.) A hex editor
                        
First Previous ... 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 Next Last
Comment:
Name:Email:
Contact No.:
Copyright © 2014 by SBJ Group. All Rights Reserved. Developed and maintained by SBJ Group. Supported on Internet Explorer browser only