I learned that Debian has an "alternatives" system. Is like a symlinks manager but for commands that are interchangeable in some way.
For example, I installed neovim and without doing anything I already have the commands vi and vim pointing to a neovim symlink. Nodejs also has one, it's called js, I can run a script like this js ./path-to-script.js. To see what commands have "alternatives" check the /etc/alternatives folder.
I'm a fan of Open Source and have a growing interest in serverless and edge computing. I'm not a big fan of spiders, but they're doing good work eating bugs. I also stream on Twitch.
I learned that Debian has an "alternatives" system. Is like a symlinks manager but for commands that are interchangeable in some way.
For example, I installed neovim and without doing anything I already have the commands
vi
andvim
pointing to a neovim symlink. Nodejs also has one, it's calledjs
, I can run a script like thisjs ./path-to-script.js
. To see what commands have "alternatives" check the/etc/alternatives
folder.And for more details read the manpage.
Noice!
💘👻🌷🙊