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
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
แบบทดสอบ
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม