The current stable release is Debian 13. Choosing 12 is nonsense.
- 1 Post
- 97 Comments
If you are choosing between Fedora and Debian, definitely go with Debian. Fedora evolves too rapidly for professional use, and its administration requires excessive effort.
bizdelnick@lemmy.mlto
Linux@lemmy.ml•foreach - Bash alias to execute command on each line
2·3 months agoI almost never use
xargs. The most common case for it isfind, but it is easier to use its-execoption. Also, withfindyour example is incorrect. You forgot that file names can contain special characters, the newline character in particular. That’s why you need to pass-print0option tofindand-0option toxargs.
Have you tried NetBSD?
Don’t expect much difference between Debian and Ubuntu. I guess you just need to install a newer kernel package from backports.
What does
dpkg --print-foreign-architecturessay?
Are you serious? It’s just a window where text is printed. Use what your DE provides. Now I’m mostly on LXQt, so I use QTerminal. With tiling WMs I prefer urxvt because I don’t need builtin window splitting ans tabs. I can’t imagine what other features may I need.
Or, alternatively,
[[:digit:]], and dont’ forget to add a quntifier+to match multiple digits. See documentaion for details.awk '/^\/dev\/loop[[:digit:]]+/{print}'
The most interesting command for the Linux shell is known as Barmin patch.
I’m currently running mint cinnamon (how original, I know), and asking because i can’t seem to add mullvad-vpn stable repo.
What’s the problem? Mint is based on Ubuntu, use the corresponding Ubuntu repo (
noblein case of Mint 22.1).
bizdelnick@lemmy.mlto
Linux@lemmy.ml•[Solved] Convert commonmark links to Headings with spaces to GitHub flavored markdown.
1·1 year agoPaths are constant, only anchors are generated by forgejo.
You won’t get it here. Everybody will recommend his favorite distro.
IMHO the best would be to solve your problems in OpenSUSE. This is definitely possible. You really need to switch to another distro only if you feel youself uncomfortable with the release cycle, package management tools or packages present in the repo of your current distro.
bizdelnick@lemmy.mlto
Linux@lemmy.ml•[Solved] Convert commonmark links to Headings with spaces to GitHub flavored markdown.English
1·1 year agoI didn’t test this, but it will change the whole URL while changes are only needed in its fragment component (after the first
#).
Removed by mod
bizdelnick@lemmy.mlto
Linux@lemmy.ml•[Solved] Convert commonmark links to Headings with spaces to GitHub flavored markdown.
1·1 year agoNB: global substitution
s///gis not applicable here because you need to perform new substitutions in a substituted text. Bothsedregexp syntaxes (basic and extended) don’t support lookarounds that could solve this issue.
bizdelnick@lemmy.mlto
Linux@lemmy.ml•[Solved] Convert commonmark links to Headings with spaces to GitHub flavored markdown.English
2·1 year agoAs I see, you’ve already got an answer how to convert text to lower case. So I just tell you how to replace all occurrences of
%20with-. You need to repeat substitution until no matches found. For such iteration you need to use branching to label. Below is sed script with comments.:subst # label s/(\[[^]]+\]\([^)#]*#[^)]*)%20([^)]*\))/\1-\2/ # replace the first occurrence of `%20` in the URL fragment t subst # go to the `subst` label if the substitution took placeHowever there are some cases when this script will fail, e. g. if there is an escaped
]character in the link text. You cannot avoid such mistakes using only simple regexps, you need a full featured markdown parser for this.
bizdelnick@lemmy.mlto
Linux@lemmy.ml•Is there any easy way to install a Linux distribution directly to a USB drive?
22·2 years agoYes. Just partition the drive manually, install packages with debootstrap, bind-mount /proc, /sys and /dev, chroot into it and install a bootloader. If you don’t understand what I say, you have to run an installer, possibly in a VM.
Why you say “Linux” when you mean “Fedora”?
What? Do you mean it is incompatible with Mac OS software RAID implementation? This does not mean it doesn’t work. You will also be unable to read your software RAID if you insert disks into hardware RAID device.