Linux Commands Quiz 4

LINUX QUIZ 4

  CONGRATULATIONS! YOU HAVE COMPLETED LINUX QUIZ 4. YOU HAVE %%SCORE%% TRUE ANSWERS OUT OF %%TOTAL%% QUESTIONS. YOUR SCORE IS %%PERCENTAGE%%. %%RATING%%
Your answers are highlighted below.
Question 1

For a permission number which one is the correct order?

A
everyone/owner/group
B
group/owner/everyone
C
owner/everyone/group
D
owner/group/everyone
E
everyone/group/owner
Question 2

What is LILO in Linux?

A
Life Analyzer
B
Boot Loader
C
Boot Checker
D
Length Optimizer
E
None of Them
Question 3

If you want to run a command at 1 am everyday, which crontab line do you use?

A
* * * 0 1
B
1 0 * * *
C
0 1 * * *
D
0 * 1 * *
E
0 * * 1 *
Question 4

To list the entries that start with the character ‘a’ in file abc.txt, we use ...

A
cat abc.txt | grep ^a
B
cat abc.txt | grep *a
C
none of them
D
cat abc.txt | grep ?a
E
cat abc.txt | grep $a
Question 5

What is the maximum length for a filename in Linux? (max characters)

A
200
B
128
C
255
D
300
E
512
Question 6

What is the process of directing data from one output to another?

A
routing
B
rotation
C
moving
D
none of them
E
redirection
Question 7

What are the contents of /usr/local?

A
Network Files
B
Hidden Files
C
Locally Installed Files
D
System Files
E
Owned Files
Question 8

If we use CTRL + ALT + DEL what happens in Linux?

A
system ask for reboot
B
system waits
C
system reboots
D
nothing
E
GUI opens
Question 9

Which links point the programs, files etc. and allows you access without entire pathname?

A
symmetric links
B
hard links
C
system links
D
symbolic links
E
virtual links
Question 10

Which one is NOT one of the permissions in Linux?

A
execute
B
write
C
run
D
read
E
none of them
Question 11

What is the minimum number of disk partitions required to install Linux?

A
5
B
1
C
3
D
2
E
4
Question 12

Which key do we use when we need to complete a half written command?

A
shift
B
esc
C
alt
D
tab
E
space
Question 13

Which command brings you to the home directory in Linux?

A
cd/
B
.
C
cd -
D
cd ~
E
/
Question 14
What is the short form of Bourne Again Sell?
A
BAS
B
BS
C
BHA
D
BG
E
BASH
Question 15

How to find the difference between abc.txt and xyz.txt files?

A
ls abc.txt xyz.txt
B
diff abc.txt xyz.txt
C
comp abc.txt xyz.txt
D
none of them
E
grep abc.txt xyz.txt
Question 16

Which command creates an empty file if it does not exist?

A
cat
B
create
C
touch
D
read
Question 17

Which one gives read, write to owner and group while read to everyone?

A
544
B
654
C
554
D
755
E
664
Question 18

How to write the output of pwd command to file abc.txt?

A
pwd * abc.txt
B
pwd - abc.txt
C
pwd < abc.txt
D
pwd & abc.txt
E
pwd > abc.txt
Question 19

What is the default administrator account in Linux?

A
User
B
Root
C
Monitor
D
Owner
E
Admin
Question 20

How can you find the status of a process?

A
none of them
B
df -i
C
ps ux
D
du -sh
E
ls -a
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 20 questions to complete.