JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Unix interview questions part 5
Unix interview questions part 5
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. UNIX allows the system administrator to use the only chown to change both owner and group.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
2. Which symbol is used to change permissions for hidden files?
A. .
B. &
C. $
D. *
Show Correct Answer
Correct Answer is :
.
3. Shell enables one or more arguments to be obtained from the standard output of another command. This feature is called _________
A. command substitution
B. argument substitution
C. shell substitution
D. korn
Show Correct Answer
Correct Answer is :
command substitution
4. Which of the following meta-character is used in command substitution?
A. `
B. ‘
C. “
D. >
Show Correct Answer
Correct Answer is :
`
5. Command substitution is enabled in single quotes also.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
6. POSIX recommends the use of ____ instead of archaic `command ` for command substitution.
A. |
B. #
C. %
D. $
Show Correct Answer
Correct Answer is :
$
7. Which of the following shell doesn’t support the command substitution using $ recommended by POSIX?
A. Korn
B. bash
C. C
D. bourne
Show Correct Answer
Correct Answer is :
bourne
8. Which symbol is used for assigning a value to variables?
A. $
B. &
C.
D. @
Show Correct Answer
Correct Answer is :
0
9. Which symbol is used for evaluation of variables?
A. $
B. &
C.
D. @
Show Correct Answer
Correct Answer is :
$
10. Which of the following is a correct initialization of variables to null strings?
A. x=
B. x=’ ‘
C. x=” “
D. x=, x=’ ‘, x=” “
Show Correct Answer
Correct Answer is :
x=, x=’ ‘, x=” “
11. A variable can be removed using _____
A. unset
B. readonly
C. del
D. bash
Show Correct Answer
Correct Answer is :
unset
12. readonly command is used to protect a variable from reassignment.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
13. The variable assignment as x = 10 (whitespace on both sides of =) will work if we are not using C shell?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
14. What will the result when we evaluate this statement? $ directory=’pwd’=`pwd`
A. output of pwd command along with string pwd=
B. undefined output
C. erroneous
D. directory variable will hold string pwd
Show Correct Answer
Correct Answer is :
output of pwd command along with string pwd=
15. Which of the following is not a system defined variable?
A. $PATH
B. $HOME
C. $SHELL
D. $cd
Show Correct Answer
Correct Answer is :
$cd
16. Which of the following is an invalid variable?
A. _user
B. us01
C. -txtfile
D. txt123
Show Correct Answer
Correct Answer is :
-txtfile
17. Command substitution requires the command to use ________
A. standard input
B. standard output
C. standard error
D. all of the mentioned
Show Correct Answer
Correct Answer is :
standard output
18. The command is valid. $ ls -lRa $HOME > home.ls
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
19. What are Commands?
A. specific instructions for performing a particular task
B. part of the operating system
C. part of the shell
D. special instructions
Show Correct Answer
Correct Answer is :
specific instructions for performing a particular task
20. In how many categories, commands of UNIX operating system classified?
A. 1
B. 2
C. Many
D. 0
Show Correct Answer
Correct Answer is :
2
Similar Interview Questions
Search for latest jobs
Find Jobs