69
submitted 4 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
[-] princessnorah@lemmy.blahaj.zone 14 points 4 months ago

I have seen that code block so many times, but never with the options switch around so it stands for french 😂 Thankfully in most cases these days you need to add --no-preserve-root for this command to run.

[-] darklamer@lemmy.dbzer0.com 5 points 4 months ago* (last edited 4 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 4 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 4 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 4 months ago

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

They are not.

[-] JackbyDev@programming.dev 2 points 4 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

48721 readers
953 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