nerdexam
LPI

010-160 · Question #33

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

The correct answer is D. man ls E. info ls. Linux provides two built-in help systems for command documentation: man (manual pages) and info (GNU info pages).

Finding Your Way on a Linux System

Question

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

Options

  • Aoption ls
  • Busage ls
  • Cmanual ls
  • Dman ls
  • Einfo ls

How the community answered

(29 responses)
  • A
    3% (1)
  • C
    3% (1)
  • D
    93% (27)

Why each option

Linux provides two built-in help systems for command documentation: man (manual pages) and info (GNU info pages).

Aoption ls

'option ls' is not a valid Linux command and does not exist in any standard Linux distribution.

Busage ls

'usage ls' is not a recognized Linux command for retrieving documentation or help information.

Cmanual ls

'manual ls' is not a valid command - the correct abbreviated form used on Linux is 'man', not 'manual'.

Dman lsCorrect

The 'man' command displays the traditional Unix manual page for a given command, providing syntax, options, and descriptions. Running 'man ls' opens the full manual entry for the ls utility.

Einfo lsCorrect

The 'info' command accesses GNU info documentation, which is an alternative and often more detailed documentation system than man pages. Running 'info ls' opens the info page for ls.

Concept tested: Linux help systems - man and info commands

Source: https://man7.org/linux/man-pages/man1/man.1.html

Topics

#man pages#info command#documentation#help system

Community Discussion

No community discussion yet for this question.

Full 010-160 Practice