Depends on the distro how that alias is defined (if it is defined)…
I just want to say that you’re probably worrying too much about it. Of course, there is lots of things one can do to improve security (which the others here are listing dutifully) and it is foolish to just assume that one’s computer is entirely secure, because as a user, you will always have the ability to bypass that.
But there’s a pretty firm consensus in the IT industry that Linux is more secure than Windows. And that the popular Linux distributions are more trustworthy organizations than Microsoft.
So, it’s good to inform yourself, but if you survived on Windows, you at least should not worry about the Linux side of things. It’s more than fine.
It says “global” in the meme, so presumably all of them…
Fish is not the worst in this regard, because:
But there may still be situations where it’s annoying, like if you’re working in a container, then you likely don’t want to mount your fish
executable every time.
But I also have to say I don’t find it too big of a deal.
I still use Bash for scripting (just throw a or
at the top of your script, like you should anyways), and then for interactive use, not that much of the shell syntax comes into play anyways.
And if I ever do need to copy a complex Bash command into an interactive shell, I can just run bash
, then run the command in there and then exit
back out.
Eh, as much as there’s obviously folks who use certain distros for the fun of it, the vast majority of distros get created to cover a specific use-case. If you have that use-case, then deploying the respective distro brings you so much closer to your target setup than the easy installation of a noob distro could save you time.
I also have to say, many stereotypical noob distros make extremely conservative choices, which makes them harder or scarier to use in various ways, like for example not having filesystem rollback. I cannot imagine going back to that, specifically because I have shit to do.
Mint’s desktop environment, Cinnamon, is technically based on GNOME Shell (i.e. a fork of it), but we’re not just talking “pretty heavily modified”. In many ways, it’s its own thing now and you can’t really assume things to work similarly.
Probably the very same thing that the post talks about, which is extracting the first word of a line of text.
The output of md5sum
looks like this:
> md5sum test.txt
a3cca2b2aa1e3b5b3b5aad99a8529074 test.txt
So, it lists the checksum and then the file name, but you wanted just the checksum.
It’s a Linux command-line program (awk
). It’s pre-installed practically everywhere, it’s very powerful for string processing, but it also uses a fairly complex syntax.
As a result, not many people know how to really make use of it, but awk '{print $1}'
is something you encounter fairly quickly when you need to get the first word in each line.
You can uncheck this checkbox:
With script files, you can (and should regardless of Fish usage) put a shebang at the top, like or
. Then it will run with Bash as you’d expect.
I also recommend not setting Fish as your system-wide default shell (since then a missing shebang will cause it to run in Fish), but rather just have your terminal emulator start fish
by default.
And yeah, outside of scripting, if I notice a command requires Bash syntax (which you can often tell from Fish’s syntax highlighting turning red), then I just run bash
, execute the Bash command in there and then exit
back out of there.
Having said all that, I’m not trying to take away from your point. If I wasn’t just joking around, I would caveat a Fish recommendation just as much.
Even quicker with fish: Write the first few letters then it auto-suggests the last-run command matching that prefix (and then you can still arrow up to cycle through all matches).
(There is also a zsh plugin for that, called zsh-autosuggestions.)
I don’t think it is…? You sure your distro doesn’t add some customizations? Neither of the features you mention work on two different distros I just tried it on (openSUSE and NixOS).
For me, it looks normal (about 8 frames a second, probably).
Ah, fair enough. Yeah, I kind of have the same problem that I forget about it. I have to use Ubuntu at work and APT is confusing in many ways, so I keep meaning to try pkcon
instead, but I still have to do so…
Did you decide to use that instead of the normal distro package manager or is there a distro which actually only has pkcon
for the CLI?
You can have a separate refresh/update command and still make the upgrade-command auto-refresh.
(You can also have a --no-refresh
flag on the upgrade-command, in case you don’t want the refresh for whatever reason.)
Isn’t dpkg just the program that installs DEB files, without handling dependency resolution?
Seems like the link went missing: https://blogs.kde.org/2025/08/23/this-week-in-plasma-kde-initial-system-setup/
That’s supposed to be “impractical”, not “in practice”, for others reading along.
For example, the “proper” command to list a directory is:
Get-ChildItem
The “proper” command to fetch a webpage is:
Invoke-WebRequest https://example.com/
In these particular cases, they do have aliases defined, so you can use
ls
,dir
andcurl
instead, but …yeah, that’s still generally what the command names are like.It’s partially more verbose than C#, which is one of the most verbose programming languages out there. I genuinely feel like this kind of defeats the point of having a scripting language in the first place, when it isn’t succinct.
Like, you’re hardly going to use it interactively, because it is so verbose, so you won’t know the commands very well. Which means, if you go to write a script with Powershell, you’ll need to look up how to do everything just as much as with a full-fledged programming language. And I do typically prefer the better tooling of a full-fledged programming language…