Remembering command line arguments * nix

For my work with developers, I have been living in the * nix shell environment almost all day, but I still can’t remember the name and arguments regarding the features of programs that I do not use daily. I wonder how other "random amnesics" handle it. Do you support a big cheat sheet? Do you rehearse emacs labels when you take a weekly shower? Or is your desk covered in sticky notes?

+3
source share
4 answers

Using bash_completion is one way not to remember the exact syntax of the program arguments.

> svn [tab][tab]
--help     checkout   delete     lock       pdel       propget    revert
--version  ci         diff       log        pedit      proplist   rm
-h         cleanup    export     ls         pget       propset    status
add        co         help       merge      plist      pset       switch
annotate   commit     import     mkdir      praise     remove     unlock
blame      copy       info       move       propdel    rename     update
cat        cp         list       mv         propedit   resolved   
+5
source

, , , --help man-, .

, , CTRL + R bash , .

+5

, , . README , , .

man -k, , , man- .

+3

'apropos' . , .

+2

Source: https://habr.com/ru/post/1761882/


All Articles