Show List
Quiz - Linux - 3
Select the right answer for below questions:
Which command is used to create a new file in Linux?
new
touch
makefile
create
touch
What is the name of the command used to view the last few lines of a file in Linux?
head
tail
last
end
tail
Which command is used to copy a directory and its contents in Linux?
cpdir
copydir
mvdir
cp -r
cp -r
What is the name of the command used to move a directory and its contents in Linux?
mvdir
movedir
cp -r
move -r
mvdir
Which command is used to create a symbolic link in Linux?
symlink
ln -s
createlink
makesymlink
ln -s
What is the name of the command used to display the current logged in users in Linux?
users
whoami
who
loginusers
who
Which command is used to change the password of the root user in Linux?
passwd root
su passwd
rootpasswd
chrootpass
passwd root
What is the name of the command used to change the hostname of a Linux system?
changehost
hostname
sethostname
updatehost
hostname
Which command is used to list all processes running in the Linux system?
proclist
ps -A
runningprocs
listprocs
ps -A
What is the name of the command used to kill a process in Linux?
stop
kill
end
terminate
kill
Submit
Retry
{"qz1-370940":"touch","qz1-370941":"tail","qz1-370942":"cp -r","qz1-370943":"mvdir","qz1-370944":"ln -s","qz1-370945":"who","qz1-370946":"passwd root","qz1-370947":"hostname","qz1-370948":"ps -A","qz1-370949":"kill"}
Leave a Comment