28. Which of the following commands are used to get information on the proper use of ls? (Choose TWO correct answers.)

Answer: D,E

Explanation:

Commands to Get Information on Proper Use of ls

To obtain information on the proper use of the `ls` command, one can utilize the `man ls` and `info ls` commands, which provide detailed documentation and usage instructions.

A) option ls

The command `option ls` is not a standard command used to retrieve information about the `ls` command. It does not exist in typical Unix or Linux command-line interfaces and therefore cannot provide any useful documentation or usage details.

B) usage ls

Similarly, `usage ls` is not a recognized command for accessing information regarding the `ls` command. While it might suggest a request for usage details, it does not conform to the standard syntax of commands available in Unix or Linux systems.

C) manual ls

The command `manual ls` is incorrect as it does not exist within the Unix or Linux command structure. The correct command to access the manual or help documentation for `ls` is `man ls`, making this option invalid for the question.

D) man ls

The command `man ls` is the correct way to access the manual entry for the `ls` command. This command provides detailed information about how to use `ls`, including its options and examples, making it a valid choice for understanding its proper use.

E) info ls

The command `info ls` is also correct, as it accesses the info documentation for the `ls` command. This command offers an alternative format for documentation, often providing more detailed explanations and examples than the manual pages, thus making it a valid choice as well.

Conclusion

The commands `man ls` and `info ls` are the proper ways to obtain information on the usage of the `ls` command, as they provide comprehensive documentation. The other options do not correspond to any recognized commands for accessing such information, thereby confirming that D and E are the only correct answers.