Quiz
Linux final (21-40)
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (20)
121. A pipe allows you to…
- A• …send the same input to multiple commands.
- B• …send the output of one command to another.
- C• …send the output of a command to a file.
- D• …type multiple commands at one prompt.
222. Channel 2 is:
- ASTDERR
- BSTDIN
- CSTDALL
- DSTDOUT
323. The echo command:
- A• Tests a variable for duplication
- B• Duplicates the input stream to the output stream
- C• Is used for variable assignment
- D• Is used to output text to the console
- E• Copies variables from one to another
424. A file begins with #!/bin/csh. This means:
- A• C Shell compatibility mode is enabled
- B• Running the script will invoke /bin/csh to interpret the rest of the file
- C• The operator should not be using /bin/csh
- D• This is a Perl script
- E• Nothing, this is a comment
525. Which are appropriate editors for writing shell scripts?
(choose two)- Anano
- B• LibreOffice Writer
- C• /bin/bash
- D• vi
- E• Firefox
626. Most of nano’s commands take the form of:
- A• Escape followed by another character
- B• Mouse clicks
- C• The F1 through F12 function keys
- D• Alt and another character
- E• Control and another character
727. What does this shell script do?
FOO=/tmp/foo
if [ ! –d $FOO ]; then
mkdir $FOO
fi- A• Nothing, since there is a problem with the conditions in the if statement
- B• Makes the /tmp/foo directory if a file by that name exists
- C• Creates /tmp/foo if it does not exist
- D• Creates /tmp/foo and raises an error if there is a problem
- E• Outputs a message to the screen
828. Which of the following are valid CPU types for Intel-based platforms?
(choose two)- A• 48 bit
- B• 24 bit
- C• 64 bit
- D• 32 bit
929. 64 bit platforms can access more memory than 32 bit platforms.
True or False?- A• True
- B• False
1030. What does the acronym RPM mean?
- A• Relocate Package Manager
- B• Return Package Management
- C• RPM Package Management
- D• Recursive Package Manager
1131. One way to install new software on a Linux system is to use a package management system.
True or False?- A• True
- B• False
1232. When you execute the dmesg command, the system displays messages that are generated by the kernel.
True or False?- A• True
- B• False
1333. Which of the following are package management commands for distributions with software distributed in files ending in .deb?
(choose three)- Arpm
- B• apt-get
- C• dpkg
- D• aptitude
1434. Which of the following are package management commands for distributions with software distributed in files ending in .rpm?
(choose three)- A• yum
- B• apt-get
- C• rpm
- Dyumex
1535. Which of the following would be considered a host?
- A• A printer attached to the network via an IP address
- B• A CDROM
- C• The computer’s hard drive
- D• A network cable
1636. A service is…
- A• …a file that contains configuration information.
- B• …another name for a computer’s hostname.
- C• …a feature provided by one computer to another.
- D• …like an IP address.
1737. A network packet contains …
(choose two)- A• …the IP address of the destination machine.
- B• …a hard drive partition.
- C• …the name of the router.
- D• …the IP address of the source machine.
1838. Only servers have hostnames.
True or False?- A• True
- B• False
1939. Which files contain user account information?
(choose two)- A• /etc/passwd
- B• /etc/shadow
- C• /etc/group
2040. Which user can view the /etc/shadow file?
- A• The root user
- B• No users
- C• Any member of the password group
- D• All users
Information
- Description
- Quiz on Linux final (21-40), created by j m on 25/05/2017.
- Author
- j m
- Language
- Español
- Views
- 14
- Tags
- Rating
- No ratings yet Rate this quiz