Which of the following commands will you use to accomplish the task?

You work as a Network Administrator for Perfect solutions Inc. The company has a Linux-based
network. You are a root user on the Red Hat operating system. You want to see the file
permissions on a file. Which of the following commands will you use to accomplish the task?

You work as a Network Administrator for Perfect solutions Inc. The company has a Linux-based
network. You are a root user on the Red Hat operating system. You want to see the file
permissions on a file. Which of the following commands will you use to accomplish the task?

A.
cat

B.
ls -l

C.
ls

D.
ls -perm

Explanation:

The ls -l command shows the permissions on a specified file.
Answer option C is incorrect. The ls command without arguments lists the file and directory names
in the current directory.
Answer option D is incorrect. No such command exists in Linux.
Answer option A is incorrect. The cat command shows the contents of a file.



Leave a Reply 0

Your email address will not be published. Required fields are marked *