69
submitted 3 months ago by possiblylinux127@lemmy.zip to c/linux@lemmy.ml

It is against the rules but but what is it exactly?

you are viewing a single comment's thread
view the rest of the comments
[-] darklamer@lemmy.dbzer0.com 5 points 3 months ago* (last edited 3 months ago)

but never with the options switch around

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.

[-] everett@lemmy.ml 3 points 3 months ago

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.

[-] lord_ryvan@ttrpg.network 6 points 3 months ago

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

[-] darklamer@lemmy.dbzer0.com 3 points 3 months ago

I don't think these things are universal across software,

They are not.

[-] JackbyDev@programming.dev 2 points 3 months ago

In scripts or documents I try to use the long form of commands.

this post was submitted on 16 Aug 2024
69 points (89.7% liked)

Linux

48334 readers
1074 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS