complete solution
What is the most common open source Web server available for Linux?
a. Samba
b. Apache
c. Quid
d. Pine
Apache
The core component of the Linux operating system is the Linux kernel. If you
were a Linux systems administrator for a company, when would you need to
upgrade your Linux kernel? (Choose all that apply.)
a. when you need to have support in Linux for new hardware
b. when you need another user interface
c. when you need to increase the stability of Linux
d. when you need to use kernel modules
a,c
Which of the following can be used on Linux to provide file and print services?
a. Samba
b. Apache
c. Quid
d. Pine
Samba
Who formed the Free Software Foundation to promote open development?
a. Dennie Ritchie
b. Richard Stallman
c. Linus Torvalds
d. Ken Thompson
Richard Stallman
Linux was developed by __________ to resemble the _________ operating
system.
a. Linus Torvalds, MINIX
b. Linux Torvalds, GNU
c. Richard Stallman, GNU
d. Richard Stallman, MINIX
Linus Torvalds, MINIX
1. What is the default shell in Linux
called?
a. SH
b. BSH
c. CSH
d. BASH
BASH
This commands shuts down the computer in 15 minutes?
sudo shutdown -h +15
, This commands restarts the computer right now?
sudo shutdown -r now
This command updates the repositories (libraries) on the raspberry pi
sudo apt-get update
This command updates the software on the raspberry pi
sudo apt-get upgrade
This command updates the Linux distribution
sudo apt-get dist-upgrade
This command installs the basic word processing program called gedit on the
raspberry pi. It is a great program similar to NotePad
sudo apt-get install gedit
command displays the contents of a text file to the screen
cat
command is used to change the current directory in the directory tree
cd (change directory)
command is used to detect the differences between files
diff
After typing the ls -F command, you notice that there is a file whose filename
begins with an * (asterisk). What does this mean?
a. It is a hidden file.
b. It is a linked file.
c. It is a special device file.
d. It is an executable file.
It is an executable file
command is used to display lines in a text file that match a certain common
regular expression
grep (global regular expression print)
command views the first ten lines of a file. (gives you the first ten lines)
head
files that are not normally displayed to the user and ls -a command displays all
files them
hidden files
command lists the files in a directory
ls
command displays the text files page-by-page. You can use the space bar to go
to the next page or you can use the enter key to go to the next line
more
command merges data from one file to another
paste
command is used to paginate text. This is good for printing text because it is
often desirable to separate the pages of the output with several lines of white
space to provide a top and bottom margin for each page
pr
command displays the current directory in the directory tree
PWD (Print Working Directory)