I hope this is the right place to ask this question. So basically, I'm currently combing through some of the more commonly used Terminal commands, and I find it really hard to remember the short form flags vs. the long form flags.
For example,
ls -a
is much harder to remember for me than
ls --all
Obviously, this is trivial to remember for one flag, but given the number of programs executable through the shell and the available flags for each program, it becomes really, really hard to commit these to memory.
However, when I search through the man pages, for example,
man ls
The docs don't show the long form flags. For example, this is what I get
-1 (The numeric digit ``one''.) Force output to be one entry per
line. This is the default when output is not to a terminal.
-A List all entries except for . and ... Always set for the super-
user.
-a Include directory entries whose names begin with a dot (.).
I'm looking for something like this webpage:
http://manpages.ubuntu.com/manpages/xenial/en/man1/ls.1.html
-a, --all
do not ignore entries starting with .
-A, --almost-all
do not list implied . and ..
--author
with -l, print the author of each file
but accessible offline.
I'm using MacOS, and running man through Terminal - are there any alternative manuals that do show the long form flags? I'd really appreciate it if someone could point me in the right direction.
Thanks!