Live data from Hacker News

Suicide Linux (2009)

qntm.org

21–30 of 73 posts

Re: Suicide Linux (2009)

#21
post #7

Earlier quoted context omitted.

I'm on my phone so I'm too lazy to dig for this, but I'm pretty sure they're talking about the bit of shell script that gets run if you type a command that isn't found in PATH. Fedora and Debian will both dive straight into searching apt/dnf for a matching package and ask "do you want to install this?" I imagine you could create a hook that gets run for any command failure, but again I'm on my phone so not sure.

It's https://packages.debian.org/sid/command-not-found

which is run by bash in the way I described.

In /etc/bash.bashrc:

# if the command-not-found package is installed, use it if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-not-found ]; then ... fi

Re: Suicide Linux (2009)

#22
post #11

The name seems a little insensitive.

The side effect of trying to enforce this kind of sensitivity is that you make certain things taboo to talk about. And this is a good example of something that should be easy for someone to talk or even joke about because it makes dipping into that conversation much easier.

Is there a name for this? I think about this all the time. I've always had a theory that some offensive words may actually be persisting longer solely because we essentially calcify their definitions and never allow them to evolve into new less offensive meanings.

Re: Suicide Linux (2009)

#25
post #11

The name seems a little insensitive.

The side effect of trying to enforce this kind of sensitivity is that you make certain things taboo to talk about. And this is a good example of something that should be easy for someone to talk or even joke about because it makes dipping into that conversation much easier.

This is well researched. See the Werther Effect. Casual, trivial, glamorized, or humorous framing behaves like contagion exposure.

Re: Suicide Linux (2009)

#29
post #6
post #2

> I suppose I should finally clear this up: The autocorrect functionality I originally described here was a feature of the first Linux systems I ever used, so I assumed it was how every Linux system worked by default. Since then I've come to understand that it's a completely optional extra doodad. What systems did this? I've never encountered one that I can recall.

Anything that ships with a default zsh shell, which is a surprising number of distros actually.

Do any of the major ones?

Debian, Ubuntu, Fedora, Red Hat, etc. don't.

Re: Suicide Linux (2009)

#30
For those who aren't ready for Suicide Linux yet, there's `sl`, a command that mildly punishes you for not being able to type `ls`, available in most distros.

  sudo apt install sl
Post reply on HN