This question already has an answer here:

Without using man and in a single command from --help, I'd like to know further information for certain options. I know that for every command, by default the option -h or --help will print a help page with a list of available options. But how can I get only the description of a particular option?

In the web and here in particular we see a lot of instructions and commands and I'd like to read more about it without searching in the full list.

For example, I know that rsync -h means

-h, --human-readable        output numbers in a human-readable format

or that ls -l means

-l                         use a long listing format

How to get that specific information in a short command?

marked as duplicate by don_crissti, jayhendren, mdpc, jasonwryan, Fox Jan 4 '18 at 4:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    rsync --help | grep '\-l,' – jasonwryan Jan 4 '18 at 0:01
  • @jasonwryan grep -- -l seems easier to me. – Hauke Laging Jan 4 '18 at 0:30
  • @jasonwryan thanks a lot, this question is different from the allegedly "duplicate" but your solution is simple and perfect. – João Pimentel Ferreira Jan 5 '18 at 0:32

Browse other questions tagged or ask your own question.