WorksheetsLinux_Recap
Total questions: 28
Worksheet time: 25mins
1980
1991
1987
2012
What are the advantages of Linux.
Select all that apply: (multiple options can select)
Open Source
Free or Low Cost
Stable
Secure
Open source means you can
The product is usually free and can be modified
The product cost and you cannot change the software
Only by get the software online
Who is the creator of Linux?
Steve Jobs
Bill Gates
Linus Torvalds
Jeff Bezos
which of these types is not a type of Linux?
MAC
Redhat
Suse
Debian
What is the main component of a Linux Operating System?
Kernel
Shell
Command
GUI
What is the root directory in a Linux file system?
/
/root
/home
/var
What is the directory that stores system configuration files?
/usr
/bin
/var
/etc
Which one is the common Linux SHELL?
etc
bash
kernel
Which one of the following creates a new file called techtorial?
cat techtorial
mv techtorial
touch techtorial
mkdir techtorial
md test
mkdir test
dir test
None of the above
Which command displays the last 6 lines of the passwd file?
cut -6 /etc/passwd
tail -6 /etc/passwd
grep -6 /etc/passwd
show -6 /etc/passwd
which command searches for a given pattern (root) in /etc/shadow file?
find -name root /etc/shadow
locate root
grep "root" /etc/passwd
wc -l /etc/passed
Which of the following gives the line number of the auth.log file that is located under /var/log directory?
grep /var/log/auth.log
tail -n grep /var/log/auth.log
wc -l grep /var/log/auth.log
cat grep /var/log/auth.log
Which shell operator do we use to redirect the content of command-file by overwriting it?
$
|
>
&
Which shell operator do we use to append and not to replace?
>
|
>>
Type a Linux command in order to search something(file, folder etc.) on filesystem?
(a)
What was the name of the comman web service name in Linux Os?
mysql
apache2
ssh
Which command shows us the detailed information about a file?(owner, permissions etc.)
show permissions
bring perm
ls -l
"cat" is the command used to _________
Change directory
Move directory
Come out of shell
See the contents of file
Draw a Linux filesystem hierarchy as you remember it

We use (a) commmand to change permissions.
What is the name of the special file that contains user's password hashes?
(a)
if you download a file ends with .zip, .gz, 7z etc. what kind of file you've downloaded?
a compressed file
setup file
document file
music file
Which of the following is used to send standart errors to another file such as /tmp/errors.txt?
command &/tmp/errors.txt
command 2>/tmp/errors.txt
command | /tmp/errors.txt
