Cloud & DevOps · Question 6 · Medium
After running chmod 754 report.sh, what are the permissions of report.sh?
- rwxr--r-x
- rwxr-xr--
- rwxrw-r--
- rw-r-xr--
Answer and explanation
Answer: B. rwxr-xr--
Explanation: Each digit is read (4) + write (2) + execute (1). 7 = rwx for the owner, 5 = r-x for the group and 4 = r-- for others, which gives rwxr-xr--.
Previous: What does Continuous Integration (CI) mean in DevOps? · Next: In Docker, what is the relationship between an image and a container?
Practise cloud & devops
Try a fresh set of cloud & devops questions with an explanation after every answer, free and without signing up: Cloud & DevOps practice. Or sit a full placement mock test.
More cloud & devops questions
- Which Linux command lists all files in the current directory, including hidden…
- How do containers differ from virtual machines?
- What does Continuous Integration (CI) mean in DevOps?
- In Docker, what is the relationship between an image and a container?
- Which command shows the last 20 lines of the file app.log?
- Adding two more identical application servers behind a load balancer to handle…
- In Kubernetes, what is a Pod?
- What is the difference between Continuous Delivery and Continuous Deployment?
- What does this shell pipeline print? Ignore any leading spaces.
- The file server.log contains these four lines: ERROR disk full INFO ok ERROR…
More technical & programming practice
GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming
LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge