Life pro tip: always put the force flag first on any command line you write (that has such a flag), to ensure that it’s the first thing seen by everyone (including your future self) reading that command line.
I don’t think these things are universal across software, but you can often put -f on its own, separate from other flags, or get in the habit of using the long --force flag.
Life pro tip: always put the force flag first on any command line you write (that has such a flag), to ensure that it’s the first thing seen by everyone (including your future self) reading that command line.
I don’t think these things are universal across software, but you can often put
-f
on its own, separate from other flags, or get in the habit of using the long--force
flag.As far as I’ve seen, single letter flags like
-f
can always be used by themselves, like-f -r
It’s actually not universal that they can be put together like
-fr
They are not.
In scripts or documents I try to use the long form of commands.