Farnsworth

joined 2 years ago
[–] Farnsworth@lemmy.world 6 points 2 months ago

Red car is on the passenger side first, then suddenly on the drivers side.

[–] Farnsworth@lemmy.world 2 points 3 months ago

My pain points with Fedora: signed sdboot and anaconda. Anaconda in particular looks like an unmaintainable mess that needs to be replaced.

[–] Farnsworth@lemmy.world 10 points 3 months ago (18 children)

Gibt es einen wichtigen Grund wieso man morgens kein Koffein zu sich nehmen sollte?

[–] Farnsworth@lemmy.world 14 points 4 months ago

tl;dr yes there are parking garages nearby, at least in my city

[–] Farnsworth@lemmy.world 7 points 4 months ago* (last edited 4 months ago) (2 children)

Most of these are not about the Linux kernel, but about distro / personal choice. Android tracks you and doesn't make you use the command-line a lot. Fedora / Ubuntu (and others?) like to reboot for every little update.

[–] Farnsworth@lemmy.world 4 points 4 months ago (3 children)

Bookmarked 😜 Mind adding a dark mode?

[–] Farnsworth@lemmy.world 3 points 7 months ago

in [[ there is generally no need for quoting, except the right hand side of an = comparison

[–] Farnsworth@lemmy.world 2 points 7 months ago* (last edited 7 months ago)

in [[, empty strings are falsy, so this also works:

[[ ! $VARIABLE1 && ! $VARIABLE2 ]] && echo "OK"
[–] Farnsworth@lemmy.world 2 points 7 months ago* (last edited 7 months ago)

The variables need a dollar sign: $VARIABLE1

help test shows what -n and -z do.

[–] Farnsworth@lemmy.world 5 points 7 months ago* (last edited 7 months ago)

Never use a && b || c. It is not the same as if a; then b; else c; fi: when a succeeds but b fails, it will run both b and c.

I would not bother with [ unless you absolutely need compatibility with non-bash shells.

[–] Farnsworth@lemmy.world 3 points 7 months ago (1 children)

no I don't have that choice, see my other comment

view more: next β€Ί