1) Linux is an example of which type of operating system? a) Single-user b) Multi-user c) Single-tasking d) Real-time 2) File Access Permissions (FAPs) in Linux are used to: a) Compress files b) Delete files c) Secure files and directories d) Rename files 3) Which command is used to view file permissions in Linux? a) ls -l b) chmod c) pwd d) mkdir 4) Which permission allows a user to view file contents? a) Write b) Execute c) Delete d) Read 5) The letter ‘w’ represents which permission? a) Read b) Write c) Execute d) Modify 6) Which number represents execute permission? a) 4 b) 3 c) 2 d) 1 7) How many user categories exist in Linux file permissions? a) Two b) Three c) Four d) Five 8) The permission set ‘rwx’ means: a) Read only b) Read and write c) Write and execute d) Read, write, and execute 9) Who is allowed to change file permissions by default? a) Any user b) Group owner c) File owner d) Other users 10) The group owner is represented by which symbol in chmod? a) g b) u c) o d) a 11) What does the first character in -rwxr-xr-- indicate? a) File owner b) Group owner c) File type d) Permission type 12) Which permission allows entering a directory? a) Read b) Write c) Copy d) Execute 13) What does chmod g+x file.txt do? a) Adds execute permission to group b) Removes execute permission from group c) Adds write permission to group d) Removes read permission from group 14) In symbolic mode, which symbol is used to revoke permissions? a) + b) = c) * d) - 15) What is the numeric value of read + write permission? a) 3 b) 4 c) 6 d) 5 16) Which command removes write permission for others? a) chmod o-w file b) chmod g-w file c) chmod u-w file d) chmod a+w file 17) What does permission 644 mean? a) Owner: rw-, Group: r--, Others: r-- b) Owner: rwx, Group: r--, Others: r-- c) Owner: r--, Group: rw-, Others: r-- d) Owner: rw-, Group: rw-, Others: r-- 18) Which permission allows deleting files inside a directory? a) Read b) Write c) Execute d) Read + Execute 19) Which chmod mode uses numbers to set permissions? a) Symbolic mode b) Relative mode c) Default mode d) Absolute mode 20) What does umask value 022 indicate for new files? a) rw-r--r-- b) rw-rw-rw- c) rw------- d) r-------- 21) Default permission for newly created files before umask is applied is: a) 777 b) 666 c) 755 d) 644 22) What is the purpose of the umask command? a) Assign permissions b) Remove permissions c) Set default permission restrictions d) Display file contents 23) Which permission allows copying a file from a directory? a) Read on file b) Write on directory c) Execute on directory d) Read on directory 24) Which chmod command gives full permissions to all users? a) chmod 644 file b) chmod 700 file c) chmod 777 file d) chmod 755 file 25) Which umask value provides the highest security? a) 066 b) 000 c) 022 d) 026
0%
LINUX QUIZ
共享
共享
共享
由
Diksha26j24
University
linux
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?