Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Linux Commands and File Permissions practice sets

220-1102 Linux Commands and File Permissions • Complete Question Bank

220-1102 Linux Commands and File Permissions — All Questions With Answers

Complete 220-1102 Linux Commands and File Permissions question bank — all 0 questions with answers and detailed explanations.

30
Questions
Free
No signup
Certifications/220-1102/Practice Test/Linux Commands and File Permissions/All Questions
Question 1hardmultiple choice
Read the full Linux Commands and File Permissions explanation →

A malicious script is suspected to have changed permissions on critical system files. The administrator needs to restore the /etc/passwd file to its default permissions, which are 644. The file is currently 777. Which command will set the correct permissions?

Question 2mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A system administrator needs to find all files in /var/log that have been modified in the last 24 hours to check for recent activity. Which command accomplishes this?

Question 3easymultiple choice
Read the full Linux Commands and File Permissions explanation →

A helpdesk technician is assisting a user who is unable to find a file named 'notes.txt' they saved earlier. The user is in their home directory. Which command will search the entire filesystem for this file?

Question 4easymultiple choice
Read the full Linux Commands and File Permissions explanation →

A software deployment script fails because it cannot write to the /opt/app directory. The directory currently has permissions drwxr-xr-x and is owned by root. The script runs as a non-root user. Which command would allow the script to write files without compromising security more than necessary?

Question 5easymultiple choice
Read the full Linux Commands and File Permissions explanation →

During a security audit, a Linux server is found to have a configuration file that is world-writable. The file /etc/app/config.cfg must only be readable and writable by the root user. Which command should the administrator run?

Question 6mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A user reports that a shared file on a Linux server is not accessible to their team. The file permissions are -rwxr----- and the user is a member of the group 'staff'. The file's group owner is 'admin'. Which command should the administrator run to allow the staff group to read the file?

Question 7mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A technician is troubleshooting a web server that is not serving pages from /var/www/html. The directory permissions are drwxr-x--- and the web server runs as user 'www-data'. The directory is owned by root:www-data. Which command will allow the web server to read the directory and its contents?

Question 8mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A security incident response team needs to identify all files on a system that have the SUID bit set, as these may pose a security risk. Which command should they use?

Question 9easymultiple choice
Read the full Linux Commands and File Permissions explanation →

A user reports that they cannot execute a custom shell script they created in their home directory. The script is owned by the user and has permissions set to 644. Which command should be used to allow the owner to execute the script?

Question 10hardmultiple choice
Read the full Linux Commands and File Permissions explanation →

A technician is investigating a privilege escalation vulnerability. They need to list all files in /usr/bin that have the SUID or SGID bit set and are owned by root. Which single command will achieve this?

Question 11mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A user reports that an application fails to start because a configuration file is owned by root with permissions 644, but the application runs as user 'appuser'. Which command will allow 'appuser' to edit the file without changing ownership?

Question 12easymultiple choice
Read the full Linux Commands and File Permissions explanation →

A junior admin needs to list all files in /var/log that were modified in the last 24 hours. Which command accomplishes this?

Question 13mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A user cannot run a command because they get 'permission denied' even though they are in the sudoers file. The command is located in /opt/custom/bin. Which command will show the current permissions and ownership of the file?

Question 14easymultiple choice
Read the full Linux Commands and File Permissions explanation →

A help desk technician receives a complaint that a shared file in /opt/app/data cannot be read by any user except root. The file permissions are -rw-------. Which command will allow the group 'developers' to read the file?

Question 15mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A technician needs to search for any file in /etc that contains the string 'Password' (case-insensitive). Which command should be used?

Question 16hardmultiple choice
Read the full Linux Commands and File Permissions explanation →

A system administrator needs to change the group ownership of a directory /srv/data and all its contents to 'datagroup'. Which command will accomplish this recursively?

Question 17mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A security incident is reported where a user accidentally deleted a critical script in /usr/local/bin. The script was owned by root and had permissions 755. Which command will restore the script from a backup located in /backup?

Question 18easymultiple choice
Read the full Linux Commands and File Permissions explanation →

A user reports that they cannot execute a shell script they wrote in their home directory. The script has permissions -rw-r--r--. Which command should be used to allow the owner to execute the script?

Question 19hardmultiple choice
Read the full Linux Commands and File Permissions explanation →

A technician needs to create a new user 'jdoe' with a home directory and set the password in one command. Which command accomplishes this?

Question 20hardmultiple choice
Read the full Linux Commands and File Permissions explanation →

A user reports that a script they run daily now fails with 'Text file busy' error. The script is located on an NFS mount. Which command will show if the script is currently being used by another process?

Question 21hardmultiple choice
Read the full Linux Commands and File Permissions explanation →

A system administrator needs to add a new user 'jdoe' to the system and ensure that their home directory is created with restrictive permissions so that no other users can access it. Which command sequence achieves this?

Question 22hardmultiple choice
Read the full Linux Commands and File Permissions explanation →

A security incident response team needs to find all files in /var/www that have the SUID bit set, which may indicate a privilege escalation risk. Which command should they use?

Question 23easymultiple choice
Read the full Linux Commands and File Permissions explanation →

A junior admin needs to list all files in the current directory, including hidden files, with detailed information such as permissions, owner, and size. Which command should they use?

Question 24mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A help desk ticket states that a user cannot write to a shared directory /data/projects. The directory permissions are drwxr-xr-x and the user is in the 'staff' group. The directory's group owner is 'staff'. What is the most likely cause?

Question 25mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A user complains that when they run the command 'find /var/log -name "*.log" -type f', they get a 'Permission denied' error for several directories. They need to see all log files regardless. What is the most appropriate command to use instead?

Question 26mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A technician needs to copy a directory tree from /home/user/docs to a backup location /backup/docs, preserving all permissions, ownership, and timestamps. Which command should they use?

Question 27mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

A user reports that a script they run daily now fails with 'Permission denied' even though they haven't changed any permissions. The script is located in /usr/local/bin/script.sh and has permissions -rwxr-xr-x. The user is in the 'users' group. What is the most likely issue?

Question 28hardmultiple choice
Read the full NAT/PAT explanation →

During a forensic investigation, an analyst needs to list all files in a directory that have been modified in the last 24 hours, including hidden files, and display the results with full path and timestamp. Which command should they use?

Question 29mediummultiple choice
Read the full Linux Commands and File Permissions explanation →

During a security audit, you find that a configuration file /etc/app/config.cfg has permissions -rwxrwxrwx. What command should you run to restrict it so only the owner can read and write, and the group can read, while others have no access?

Question 30easymultiple choice
Read the full Linux Commands and File Permissions explanation →

A user reports that they cannot execute a custom shell script they placed in their home directory, even though they can read and write to it. The script has permissions -rw-r--r--. Which command should you use to resolve this issue?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

220-1102 Practice Test 1 — 10 Questions→220-1102 Practice Test 2 — 10 Questions→220-1102 Practice Test 3 — 10 Questions→220-1102 Practice Test 4 — 10 Questions→220-1102 Practice Test 5 — 10 Questions→220-1102 Practice Exam 1 — 20 Questions→220-1102 Practice Exam 2 — 20 Questions→220-1102 Practice Exam 3 — 20 Questions→220-1102 Practice Exam 4 — 20 Questions→Free 220-1102 Practice Test 1 — 30 Questions→Free 220-1102 Practice Test 2 — 30 Questions→Free 220-1102 Practice Test 3 — 30 Questions→220-1102 Practice Questions 1 — 50 Questions→220-1102 Practice Questions 2 — 50 Questions→220-1102 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Windows OS Features and ToolsWindows Settings and Control PanelWindows Command-Line ToolsWindows Administrative ToolsmacOS Features and ToolsLinux Commands and File PermissionsMobile OS Features and ToolsVirtualization and Cloud TechnologiesPhysical Security ControlsLogical Security ConceptsWireless Security ProtocolsMalware Types and RemovalSocial Engineering AttacksWindows Security SettingsBrowser and Application SecurityData Destruction and DisposalWindows OS TroubleshootingPC Security Issue RemediationMobile OS and App TroubleshootingSafety Procedures and ComplianceEnvironmental Awareness and ImpactDocumentation and Change ManagementRemote Access TechnologiesScripting BasicsCommunication and ProfessionalismOperating SystemsSecuritySoftware TroubleshootingOperational Procedures

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Linux Commands and File Permissions setsAll Linux Commands and File Permissions questions220-1102 Practice Hub