Test your knowledge on Linux with this trivia quiz! It covers essential commands and concepts, such as navigation, file operations, and user directory management. Perfect for anyone looking to enhance their Linux skills or prepare for certification exams.
Cd ./test1
Cd ../test1
Cd ../../test1
Cd ~/test1
Cd /home/user1/test1
Rate this question:
Cp dir1 dir2 dir3
Cp -r dir1 dir2 dir3
Cp --parent dir1 dir2 dir3
Cp -p dir1 dir2 dir3
None of the above
Rate this question:
/
/root/home
/home/root
/root
None of the above
Rate this question:
Cp oldfile newfile
Ren oldfile newfile
Mv oldfile newfile
Touch oldfile newfile
None of the above
Rate this question:
Echo $PATH
Set +C
Umask
Set -noclobber
None of the above
Rate this question:
Mv
Del
Rm
Rmdir
None of the above
Rate this question:
Rm
Rm -r
Rmdir
Rmdir -p
None of the above
Rate this question:
Log in as root and type: shutdown -h now
Log in as root and type: shutdown -r now
Log in as root and type: stop linux -1
Turn power off and walk away
None of the above
Rate this question:
PS1
PS2
SHELL
HOME
None of the above
Rate this question:
Echo $SHELL
Cat /etc/shells
Uname -r
Cat /etc/fstab
None of the above
Rate this question:
Cd
Cd ~
Cd ~/username
Cd /home/username
None of the above
Rate this question:
Ls /etc/stab
Ls -l /etc/fstab
Ls -a /etc/fstab
Ls -i /etc/fstab
None of the above
Rate this question:
You remain in current directory
You change into the parent directory
You will get the error message "bash:...:unknown symbol"
You will create a directory name ".."
None of the above
Rate this question:
Dir
Ls
Pwd
Cd
None of the above
Rate this question:
0
1
2
3
None of the above
Rate this question:
2
3
4
5
None of the above
Rate this question:
/
/root
/root/test1/parent
/root/test1
None of the above
Rate this question:
0
1
2
3
None of the above
Rate this question:
Read, Write, Hidden, Read Only, Execute
Read, Hidden, Execute
Read, System, Hidden, Archive
Read, Write, Execute
None of the above
Rate this question:
421401001
Rwxrw-r-x
762
752
None of the above
Rate this question:
Chmod 750 script1
Chmod 760 script1
Chmod 770 script1
Chmod 754 script1
None of the above
Rate this question:
Chmod 655 script2
Chmod g+x, o+x script2
Chmod g=x,o=x script2
Chmod u+x,g+x script2
None of the above
Rate this question:
Chmod 777 /public
Chmod ugo=rwx /public
Chmod a+rwx /public
Chmod ugo+rwx /public
Chmod a+rwx /public
Rate this question:
For the directory: None, for the file : write(w) and execute(x)
For the directory: write(w) and execute, for the file: none
For the directory: read(r), write(w) and execute(x), for the file:none
For the directory:read(r) and write(w), for the file: write(w)
None of the above
Rate this question:
Paul
Students
Root
Files dont have owners
None of the above
Devins mom
Rate this question:
Chmod paul jack
Chgrp jack paul
Chown jack filetwo
Chown filetwo jack
None of the above
Rate this question:
Chown .faculty filetwo
Chmod jack.faculty filetwo
Chgrp faculty filetwo
Chgrp filetwo faculty
None of the above
Rate this question:
Rw-------
----wx-wx
Rw--wx-wx
Rwxrw-r--
None of the above
Rate this question:
Mount, mkfs, fsck, fdisk
Fdisk, fsck, mkfs, mount
Fdisk, mkfs, fsck, mount
Fsck, fdisk, mount, mkfs
None of the above
Rate this question:
022
622
044
644
None of the above
Rate this question:
You may create multiple hard links to the same file
All hard links have the same inode number as the original files
All hard links become meaninless (orphan link) if the original file is removed
The physical file will not be removed from the disk until all hard links are deleted
None of the above
Rate this question:
No partitions or logical drives can be created
A partition can be created, and it has to be a primary partition
A partition can be created, and it has to be extented partition
One primarry partition and more than one logical drives can be created
None of the above
Rate this question:
/dev/sda1, /dev/sda2
/dev/sda1, /dev/sda2, /dev/sda3
/dev/sda5, /dev/sda6, /dev/sda7
/dev/sda3
None of the above
Rate this question:
1
2
3
4
None of the above
Rate this question:
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda5
None of the above
Rate this question:
Fdisk -l
Swapon
Mkfs
Mkswap
None of the above
Rate this question:
Mkfs
Fdisk
Mke2fs
Mkswap
None of the above
Rate this question:
Mount
Cat /etc/fstab
Fdisk -l
Fsck
None of the above
Rate this question:
Regular user
Root
Any user
None of the above
Rate this question:
Mount /dev/sda3
Mount /mnt/new
Umount /mnt/new /dev/sda3
Mount -t
None of the above
Rate this question:
/dev/sda1
/dev/sda2
/dev/sda3
/dev/fd0
/dev/cdrom
Rate this question:
/test2
?test2
%test2
S/test2
None of the above
Rate this question:
Dd
D$
Dw
D^
None of the above
Rate this question:
:wq
:w
:q
:q!
None of the above
Rate this question:
0
1
4
5
None of the above
Rate this question:
The words "cat", "dog", "animal", and "bear" are displayed on one line
"animal" is displayed
"cat", "dog", and "bear" are displayed on separate lines
Nothing displays
None of the above
Rate this question:
0
1
2
Inifinite
None of the above
Rate this question:
5,4,3,2,1 displayed on separate lines
5,4,3,2 displayed on separate lines
4,3,2,1,0 displayed on separate lines
Nothing - syntax error
None of the above
Rate this question:
Quiz Review Timeline (Updated): Feb 6, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.