User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
Pressing control+c on the wrong keyboard, in the wrong terminal window, connected to the wrong server: the ultimate sign it's time for bed. Just as soon as I do a bit of troubleshooting; I seem to have broken "sudo shutdown -h now" on this Debian machine. It says:
"sudo: The term 'sudo' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

I wonder how I managed to break sudo?
6
3
4
0
User avatar
Jens Bannmann @tynstar@nerdculture.de
1y
@fastfinge
Umm... the bit about "not recognized as a name of a cmdlet" is something that Microsoft Powershell would say. And AFAIK Powershell is not installed on Debian by default. Did you? Or was it that late in the evening that you were talking to a (local) Windows machine instead of a Debian one?
1
0
1
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@tynstar It was 45 minutes after midnight, and I'd been up since 6 AM. I also have powershell and oh-my-posh installed on all of my machines, so that doesn't help me.
0
0
1
0