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

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

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

Which command brings you to the home directory in Linux?

A
cd/
B
cd ~
C
/
D
cd -
E
.
Question 3

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

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

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

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

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

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

What are the contents of /usr/local?

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

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

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

For a permission number which one is the correct order?

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

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

A
cat
B
touch
C
read
D
create
Question 10

What is the default administrator account in Linux?

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

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

A
GUI opens
B
nothing
C
system ask for reboot
D
system waits
E
system reboots
Question 12
What is the short form of Bourne Again Sell?
A
BS
B
BASH
C
BG
D
BHA
E
BAS
Question 13

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 14

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

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

Which one is NOT one of the permissions in Linux?

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

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

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

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
cat abc.txt | grep ^a
D
cat abc.txt | grep *a
E
none of them
Question 18

How can you find the status of a process?

A
none of them
B
du -sh
C
ps ux
D
ls -a
E
df -i
Question 19

What is LILO in Linux?

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

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

A
virtual links
B
symbolic links
C
hard links
D
symmetric links
E
system links
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.