Introduction to Linux I Chapter 01 Exam Answers
1. Which command will send text to the terminal display:
- echo
- type
- show
2. To replace the currently running shell, you can use:
- dash
- bash
- exec
- csh
3. To display your current location within the filesystem, you can type:
- whereami
- cwd
- dir
- pwd
4. The _____ command displays information about the Linux kernel:
- kern
- uname
- real
- linux
5. The basic form of a command line is:
- command [options…] [arguments…]
- command [arguments…] options
- command arguments options
- command [options…] arguments…
6. Bash is:
- a website
- a networking term
- a shell
- an operating system
7. The two login types are:
- URI and CLU
- CLI and GUI
- URI and CLI
- GUX and CLI
8. The core software component that tells the hardware what actions to take is called the ________.
- compiler
- kernel
- transmitter
9. A command can be: (choose three)
- An alias
- A block
- A configuration file
- A variable
- A function
- A program built-in to the shell
10. Which of the following are valid command lines? (choose two)
- ls /etc -l
- ls -l /etc
- ls -/etc
- -l ls /etc
11. You want to execute the ls
command with two options: -r
and -l
. Which of the following are valid ways to run this command: (choose three)
- rl ls
- ls -r -l
- ls -l -r
- ls –r –l
- ls rl
- ls -rl
12. You can pass arguments to long options by using which of the following techniques: (choose two)
- –option{argument}
- –option~argument
- –option=argument
- –option argument
13. When typing a command, you can have the bash shell complete the command by pressing which key?
- The Up Arrow key
- The Del key
- The Backspace key
- The Tab key
- The Enter key
14. The location of users’ default shells is stored in the ______ file.
- /etc/passwd
- /etc/group
- /etc/gshadow
- /etc/shadow
15. Long command options are preceded by which two characters?
- &&
- —
- ||
- **
16. Which two characters do you use to tell the command that you are finished providing options and that the remaining data on the command line is arguments?
- —
- **
- ||
- &&
17. The _____ command will take another command for the argument to execute.
- exit
- uname
- exec
- pwd
18. The _____ option to the uname
command will display the kernel name.
- -s
- -x
- -k
- -n
19. The ______ command will display your current working directory.
- uname
- exec
- pwd
- exit
20. Which Linux distributions are derived from Red Hat? (choose two)
- Fedora
- CentOS
- Slackware
- Ubuntu
- Debian
21. Ubuntu is derived from which Linux distribution?
- Fedora
- Red Hat Enterprise Linux
- Slackware
- Debian
- Scientific Linux
22. A software release cycle describes:
- How often the computer must be rebooted
- How often upgrades come out to software
- How often the computer must be upgraded to support new software
- The often security fixes are implemented
- How often the software’s memory is released back to the operating system
23. What does a distribution provide to add and remove software from the system?
- Compiler
- Application Programming Interface (API)
- Bash
- Package manager
- Partitioning tool
24. Bundling utilities, management tools, and application software with a Linux kernel is called a:
- A distribution of Linux
- A trademark
- A type of hardware
- A text editor
25. Applications make requests to the kernel and receive resources, such as memory, CPU, and disk in return.
- True
- False
26. Commands are interpreted by the shell and transformed into actions by the kernel.
- True
- False
27. A filesystem is a hierarchy of directories and files with the root / directory at the top of the directory tree:
- True
- False
Bundling utilities, management tools, and application software with a Linux kernel is called a:
A distribution of Linux
A trademark
A type of hardware
A text editor
The correct answer is: A distribution of Linux
Applications make requests to the kernel and receive resources, such as memory, CPU, and disk in return.
True or False?
The correct answer is: True
False
Commands are interpreted by the shell and transformed into actions by the kernel.
True or False?
The correct answer is: True
A filesystem is a hierarchy of directories and files with the root / directory at the top of the directory tree:
True or False?
The correct answer is: True
Added all, thanks for your sharing!
“
Which Linux distributions are derived from Red Hat?
(choose two)
Fedora
CentOS
Slackware
Ubuntu
Debian
Fedora
CentOS
Ubuntu is derived from which Linux distribution?
Fedora
Red Hat Enterprise Linux
Slackware
Debian
Scientific Linux
Debian
A software release cycle describes:
How often the computer must be rebooted
How often upgrades come out to software
How often the computer must be upgraded to support new software
The often security fixes are implemented
How often the software’s memory is released back to the operating system
What does a distribution provide to add and remove software from the system?
Compiler
Application Programming Interface (API)
Bash
Package manager
Partitioning tool