brent
Linux documentation is like finding a significant other.. some are great, others need alot of improvement. 😆
--help
or -h
are your friends.
Linux command structure works something like this..
Command -> Argument -> Option
or
Command [argument] [--option]
SOME commands have subcommands.
Then it would be:
Command [--option] Subcommand [argument] [--option]
If you were to type clr-boot-manager --help
you get the general --help file. If you typed clr-boot-manager update --help
you would see the following update: unrecognized option '--help'
. However update
would be considered a subcommand. In this instance the documentation for clr-boot-manager
is not complete.
The flatpak
and snap
commands are full of subcommands.
A very useful subcommand is flatpak list
. If you type flatpak list --help
you will see a list of available columns. So if you type flatpak list --columns=name
you get a list of the flatpaks you have with only the name. I was trying to remove any flatpaks that required anything older than Gnome 3.38 or that were huge and not used often a few months ago.. so I typed flatpak list --columns=name,runtime,size
ProtonMail Bridge org.kde.Platform/x86_64/5.15 165.5 MB
Bitwarden org.freedesktop.Platform/x86_64/20.08 207.5 MB
Planner org.gnome.Platform/x86_64/3.38 127.4 MB
Tootle org.gnome.Platform/x86_64/3.38 1.9 MB
Dialect org.gnome.Platform/x86_64/40 8.2 MB
PDF Arranger org.gnome.Platform/x86_64/40 20.0 MB
Flatseal org.gnome.Platform/x86_64/40 2.6 MB
Video Downloader org.gnome.Platform/x86_64/40 34.0 MB
VidCutter org.kde.Platform/x86_64/5.15 104.3 MB
Todoist: To-Do List & Tasks org.freedesktop.Platform/x86_64/20.08 4.5 MB
TogglDesktop org.kde.Platform/x86_64/5.15 17.4 MB
XnConvert org.freedesktop.Platform/x86_64/20.08 118.8 MB
XnView MP org.freedesktop.Platform/x86_64/20.08 182.8 MB
Element org.freedesktop.Platform/x86_64/20.08 263.2 MB
Atom org.freedesktop.Sdk/x86_64/20.08 628.2 MB
Typora org.freedesktop.Platform/x86_64/20.08 341.2 MB
Subcommands and --help
are always, always, always your friend.