Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #####################
- QUESTION 1 (1/1 point)
- The kernel is defined as:
- The graphical user interface on top of the operating system
- The glue between the hardware and applications - correct
- The software libraries needed to run the system All of the above
- #####################
- QUESTION 2 (1/1 point)
- Which statements are true about the Linux Boot Loader:
- It is executed before Linux
- It gives us more control on how we boot the system
- It can be used to select operating systems or kernels
- All of the above - correct
- #####################
- QUESTION 3 (1/1 point)
- If the display manager is not started by default in the default runlevel, you can start the X-Window System by:
- Running the startx command from the command-line - correct
- Running the runX command from the command-line
- Running the X –begin command from the command-line
- #####################
- QUESTION 4 (1/1 point)
- To change your desktop background:
- Edit the desktop-background file
- Right-click on the desktop, select Change Desktop Background and select a wallpaper - correct
- Double-click the desktop, select an available wallpaper and click on Save
- Try a different Linux distribution
- #####################
- QUESTION 5 (1/1 point)
- For best coordination between multiple Linux systems, you should set the date and time:
- Manually as close as possible to each other
- Manually, but the various systems' time only needs to be synchronized within a few minutes
- Using the Network Time Protocol (NTP) so that machines are automatically very close to the same time - correct
- Manually every time you boot the system
- #####################
- QUESTION 6 (1/1 point)
- Display settings allow you to change things like:
- The date and time
- Network settings
- Screen resolution and multiple screens configuration - correct
- Whether or not to use a graphical interface
- #####################
- QUESTION 7 (1/1 point)
- One of the reasons you should learn text mode operations is:
- Your server may not have the overhead for a graphical user interface (GUI) - correct
- Linux does not include a graphical user interface (GUI)
- A particular command may not be installed on your system
- You are not competent if you can't do everything from a command line
- #####################
- QUESTION 8 (1/1 point)
- To move around the file system tree from one directory to another you can use:
- ls
- cd - correct
- ps
- mv
- #####################
- QUESTION 9 (1/1 point)
- To remove a directory named data and all of its files, including sub-directories, in that directory, use:
- rmdir data
- rm –f data
- rm –rf data - correct
- remove data
- #####################
- QUESTION 10 (1/1 point)
- The Linux manual pages can be read using:
- manual
- man - correct
- doc
- command /?
- #####################
- QUESTION 11 (1/1 point)
- Many programs have built-in help; to access this, use:
- The -h or --help option - correct
- The --info option
- The -m or --man option
- The –doc option
- 12. Which of the following compares two files line by line and reports differences?
- cp
- rsync
- patch
- diff
- #####################
- QUESTION 13 (1/1 point)
- Which of the following is useful for creating a backup of a disk Master Boot Record (MBR)?
- d2d
- dd - correct
- bzip2
- file
- #####################
- QUESTION 14 (1/1 point)
- In order to execute a Linux command as the root user, what should you prefix it with?
- su (as in su ls /etc)
- time (as in time ls /etc)
- strace (as in strace ls /etc)
- sudo command (as in sudo ls /etc) - correct
- #####################
- QUESTION 15 (1/1 point)
- The_________environment variable lists the directories in which the shell looks for executable programs and scripts.
- $PATH - correct
- $HOME
- $PS1
- $SHELL
- #####################
- QUESTION 16 (1/1 point)
- Which command is used to set the Linux file permissions to make the file named data, readable and writable by the owner and group owner of the file, but not accessible by any others?
- chown 660 data
- chmod 660 - correct
- chgrp 670 data
- chmod 777 data
- #####################
- QUESTION 17 (1/1 point)
- An easy to use text-based editor that utilizes on-screen prompts is:
- edit
- cat
- edln
- nano - correct
- #####################
- QUESTION 18 (1/1 point)
- The command-mode key stroke(s)______within vi will delete the characters from the cursor to the end of the word.
- D
- dw - correct
- d$
- rl
- #####################
- QUESTION 19 (1/1 point)
- Encrypted account passwords are found in the file,_________, and are typically encrypted using the__________algorithm.
- /etc/passwd; SHA-512
- /etc/password; SSH-512
- /etc/shadow; SHA-512 - correct
- /etc/shadow; HASH-256
- #####################
- QUESTION 20 (1/1 point)
- The root account:
- Has authority over the entire system
- Requires extreme caution when using because small mistakes can lead to disasters
- Should be used carefully; think before pressing the Enter key and run complex commands in a safe way, first, to ensure mistakes aren’t made
- All of the above
- #####################
- QUESTION 21 (1/1 point)
- IP addresses are divided into two parts:
- Address and octets
- TCP and IP
- Network and host - correct
- Class A and B
- #####################
- QUESTION 22 (1/1 point)
- To confirm that a remote host is online and responding and to measure network latency between machines at the same time , one can use:
- nslookup
- ip addr show
- dig
- ping
- #####################
- QUESTION 23 (1/1 point)
- How would you use sed to replace all the occurrences of the word "tiger" with "lion" in the file named data?
- sed ‘s/tiger/lion/’ data
- sed ‘s/lion/tiger/’ data
- sed -i ‘s/tiger/lion/g’ data - correct
- sed –i ‘r/lion/tiger/’ data
- #####################
- QUESTION 24 (1/1 point)
- The command "wc –l data" will print out the number of :
- lines in the file data - correct
- words in the file data
- characters in the file data
- bytes in the file data
- #####################
- QUESTION 25 (1/1 point)
- Which of following could you use to check the status of all your printers?
- status –a
- lp status –all
- lprm my-printers
- lpstat –a - correct
- #####################
- QUESTION 26 (1/1 point)
- Why should we use shell scripts?
- They combine long, possibly repetitive commands into one simple command
- They allow you to create new commands and share these procedures among several users
- They automate tasks and reduce risk of errors
- All of the above - correct
- #####################
- QUESTION 27 (1/1 point)
- Your shell script uses an "if" statement to see if the word "yes" was entered. This "if" statement looks like:
- if ( $RESPONSE = "yes" ) ; then
- if [ RESPONSE = "yes" ) ; then
- if [ $RESPONSE == "yes" ] ; then - correct
- if ( RESPONSE = "yes" ) ; then
- #####################
- QUESTION 28 (1/1 point)
- Your shell script needs to test to see if a directory, document, exists; a way to do this is:
- [ -e document ]
- [ document –gt 0 ]
- [ -d document ] - correct
- [ -s document ]
- #####################
- QUESTION 29 (1/1 point)
- Which of the following can be used to show which processes are using most of the CPU or memory resources on your system:
- most
- big
- lots
- top - correct
- #####################
- QUESTION 30 (1/1 point)
- The ssh command provides a way to:
- Exit your login shell cleanly
- Silently copy files from one directory to another
- Connect securely to remote systems - correct
- Check the process status of your shell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement