NEW
Font size
WorksheetsLinux fundamental - Day2
Total questions: 10
Worksheet time: 5mins
Who can change the password of any user?
Everyone
Super user
Supervisor
End-User
All configuration files are stored under which directory
/home/etc
/etc
/bin
/
Which of the following command is file editor command ?
cat
vi
echo
grep
which of the following command is used to change the file permission?
usermod
umask
chage
chmod
Which of the following is used to append the contents of a file?
=
>>
<
>
Which command displays the contents of a file?
cat
pipe
ls
tee
Which of the command is used to change the password?
password
passwd
changepasswd
gpasswd
User passwords are stored in which file?
/etc/password
/root/password
/etc/passwd
/etc/shadow
How do you delete user along with home directory?
userdel
userdel -r
deleteuser
userdel -d
if normal user wants to run super users command he must be added in the which of the following file?
/etc/login.defs
/etc/sudoers
/etc/passwd
/etc/group
