You Scored:
Ranking:
Past Papers LINUX OS MCQs Questions Answers
1. ? Specifies?
One or more character
None of the above
One character (Answer)
Zero or more character
2. What command would send the output of cmd1 to the input of cmd2?
cmd1 && cmd2
cmd1 | cmd2 (Answer)
cmd1 || cmd2
cmd1 ; cmd2
3. Which command is used to change password of your Linux system?
Password
Change -p
Pass
Passwd (Answer)
4. * Specifies?
None of the above
Zero or more charecter (Answer)
Nothing
One or more character
5. Which command is used to get the kernel version in Linux?
uname -r (Answer)
kernel
uname -s
uname -n
6. Maximum how long can a Linux filename be?
128 bytes
255 bytes (Answer)
64 bytes
32 bytes
7. Which of the following file set in the current directory are identified by the regular expression a?b*?
afcc, aabb
abcd, axbb
abbb, abxy
aabb, axbc (Answer)
8. Which key combination is used to see all the hidden files in Nautilus file manager?
Ctrl + h (Answer)
Ctrl + Alt + h
Ctrl + Shift + h
None of the above
9. Which command can be used to test various file attributes?
if
type
test (Answer)
file
10. Which variable will display the list of the positional parameters?
$$
$#
$* (Answer)
$?