E
E
Evdokim2020-01-26 12:00:14
linux
Evdokim, 2020-01-26 12:00:14

How to remember all options that are displayed in man pages?

Almost all Linux commands and packages have manuals that can be viewed with the man command . The Options section sometimes contains a huge number of options that it seems impossible to memorize right away. Let's take the ps command .
How to remember quickly and easily a large number of keys/options of commands and packages in Linux? Does special learning help beyond daily experience?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
I
Ivan Shumov, 2020-01-26
@inoise

It is useless to memorize, and it is not necessary. Knowing what this or that command is capable of is, yes, good, but in real life a rather limited number of commands are used. So just practice.
Learned information has a tendency to disappear

S
SOTVM, 2020-01-26
@sotvm

most of the options in different commands have a name that is consonant with the action they perform.
those. for example -a is all -w is width or write etc.
As already answered above, you don’t need to learn (you can always peep man , and if you often use the command, you will quickly remember the ones you need)

V
Vadim Priluzkiy, 2020-01-26
@Oxyd

  1. Switch from bash to zsh + oh-my-zsh as a bonus, you will get auto-completion for the keys of a lot of utilities. That is, enter a command, enter -, press Tab and get a list of keys with a description. And if you press tab again, you can navigate through the list of keys with arrows and select the desired key by pressing enter.
  2. Practice and more practice.

V
Valdemar Smorman, 2020-01-26
@smorman

convert to a text or other file type and, when necessary, open it in a more presentable form than in the Terminal and see what and how ...
For example: in this case, the text file of the manual will be saved in the Home folder ( home/user ) The file extension and the path to it after > can be chosen to your taste...

P
planc, 2020-01-26
@planc

zsh
is usually the same abbreviations everywhere
there are simplified manas (tldr is too long; haven't read it)
https://tldr.ostera.io/tar
https://tldr.sh/

S
Saboteur, 2020-01-26
@saboteur_kiev

You don't need to remember specifically.
You need to roughly remember that the utility can do this or that, if necessary, quickly flip through man, learn how to use the search in less / man
Frequently used commands with options can be written as aliases in the profile.

C
CityCat4, 2020-01-26
@CityCat4

What for?
The necessary will be remembered by itself with frequent use. Less necessary can always be seen. For development, I always keep tkman on my computer - a Tk program in which I read mana on functions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question