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->Shell Programming

                        
First Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Next Last
1.) Which command generates possible completions for string according to the and write it to standard
output?
Options are:
A.) compgen
B.) None of the options
C.) complete
D.) continue
2.) Which expression use the value of the enclosed arithmetic expression?
Options are:
A.) $()
B.) $[]
C.) $(())
D.) ${}
3.) How do you print the lines between 5 and 10, both inclusive
Options are:
A.) cat filename | head | tail -6
B.) cat filename | tail -5 | head -10
C.) cat filename | head | tail -5
D.) cat filename | tail +5 | head
                        
4.) If a and b are 2 variables then the meaning of a<<=b is
Options are:
A.) a = a << b
B.) a = a << b
C.) b = a << b
D.) b = b << a
5.) Syntax to suppress the display of command error to monitor?
Options are:
A.) command 2> /dev/null
B.) command 2> &2
C.) Command > &2
D.) command 2> &1
                        
First Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 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