this post was submitted on 14 Mar 2024
96 points (81.6% liked)
Linux
48033 readers
1652 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Well unless it's just editing the text file. God forbid you unknowingly enter vim and don't know how to get out without rebooting.
There was a time when I had to do that. I was a teenager. I had no idea what I was doing. And it was many many years later that I finally learned how to quit it. That pain keeps me away to this day.
Long live nano, the warm and cuddly text editor.
I'm imagining that same instance still stuck open for years until you found out.
To quit vim is simple!
Just get a second computer, network with the first one, SSH into the first one, find the process ID of vim, and pkill! Easy as pie!
... It didn't occur to you to google "how to exit vim"?
It's :q! and if you were in some special mode you can spam esc a bunch of times before.
They couldn't, didn't you read? They were stuck in vim!
I'm not sure of you are trying to be funny, but just in case you are not, if their only working environment was a terminal and they didn't know how to get out of vim, they were fucked to begin with.
I'm guessing they entered vim because they copied it from somewhere, be it another window, having vim in a terminal emulator, a mobile phone where they searched whatever, or another PC. If we are talking about a non graphical PC with just a single tty or a user without the knowledge of changing ttys or without the knowledge of searching the web from the command line, who somehow entered vim without external input, that's kinda on them, idk. There's several fuckup steps in there, all nicely stacked.
<This is an auto-reply. The user you are trying to reach is currently using vim and therefore unable to respond. If you'd like to leave them a message, please respond to this comment with the content of the comment that this response is responding to. This is not a joke. Thank you.>
Google didn’t exist.
That's assuming that you're able to google it. Before everyone had a phone in their pocket, and 17 computers lying around if you were stuck in command line with no GUI then you had no option.
Screw nano and ed, use mirco.
Thing is, when people say that windows doesn't break, they mean that it doesn't break for normal users. I'd be surprised if those know what a command like editor is, to begin with.
And it totally does break, it's just that people are familiar with the ways windows breaks, and know how to work around it.