This Linux Certification Practice quiz assesses key skills in file management, directory navigation, and command-line usage. It is designed for learners preparing for Linux certification, enhancing both fundamental and advanced Linux command knowledge.
Rm
Rm -r
Rmdir
Rmdir -p
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:
Paul
Students
Root
Files dont have owners
None of the above
Devins mom
Rate this question:
Echo $SHELL
Cat /etc/shells
Uname -r
Cat /etc/fstab
None of the above
Rate this question:
#
$
!
>
None of the above
Rate this question:
/bin/bash
#/bin/bash
!/bin/bash
#!/bin/bash
None of the above
Rate this question:
Root directory
Users home directory
Parent directory
Current directory
None of the above
Rate this question:
Groupdel
Gpasswd
Groupmod
Userdel
None of the above
Rate this question:
Mv
Del
Rm
Rmdir
None of the above
Rate this question:
*
||
&&
>
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:
421401001
Rwxrw-r-x
762
752
None of the above
Rate this question:
Regular user
Root
Any user
None of the above
Rate this question:
/etc/passwd
/etc/group
/etc/shadow
/etc/inittab
None of the above
Rate this question:
:wq
:w
:q
:q!
None of the above
Rate this question:
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda5
None of the above
Rate this question:
$#
$0
$?
$9
None of the above
Rate this question:
;
>
>>
&&
None of the above
Rate this question:
Env
Export -f
Set
Name of the function
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:
Current directory
Pwd
'pwd'
Syntax error
None of the above
Rate this question:
Chmod
Chown
Chgrp
Ls
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:
Sleep 2
Wait 2
Pause 2
Devins weiner is the size of a leprechauns pinky
None of the above
Rate this question:
Ls /home
Ls /root
Cat /etc/passwd|grep user1
Cat /etc/group|grep user1
None of the above
Rate this question:
Cd ./test1
Cd ../test1
Cd ../../test1
Cd ~/test1
Cd /home/user1/test1
Rate this question:
/
/root/home
/home/root
/root
None of the above
Rate this question:
/dev/sda1
/dev/sda2
/dev/sda3
/dev/fd0
/dev/cdrom
Rate this question:
Echo ${tests}
Echo ${tests[1]}
Echo ${#tests[1]}
Echo $#{tests[1]}
None of the above
Rate this question:
PS1
PS2
SHELL
HOME
None of the above
Rate this question:
0
1
2
3
None of the above
Rate this question:
Echo ${labs}
Echo ${labs[0]}
Echo ${labs[*]}
Echo ${labs[#]}
None of the above
Rate this question:
Useradd -s /bin/csh user1
Echo $SHELL
Usermod -s /bin/csh user1
$SHELL=/bin/csh user1
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:
1
2
3
4
None of the above
Rate this question:
Mount
Cat /etc/fstab
Fdisk -l
Fsck
None of the above
Rate this question:
Yes
No
Devins mom?
Rate this question:
Cd
Cd ~
Cd ~/username
Cd /home/username
None of the above
Rate this question:
Userdel user1
Userdel -r user1
Usermod -r user1
Usermod -d user1
None of the above
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:
2
3
4
5
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:
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:
Vimrc
Bashrc
Man
History
Rate this question:
Fdisk -l
Swapon
Mkfs
Mkswap
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:
Echo $PATH
Set +C
Umask
Set -noclobber
None of the above
Rate this question:
Script1 1> outerr.txt
Script1 2> outerr.txt
Script1 &> outerr.txt
Script1 > /dev/null
None of the above
Rate this question:
Quiz Review Timeline (Updated): Nov 25, 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.