Quration AIQ

terminal

'I couldn't exit vim so I turned off the computer' is a classic developer meme.

What's the actual way to quit the terminal editor vim without saving?

Type :q! and press Enter
vim separates command mode from typing mode: press Esc, then :q! (force quit) or :wq (save and quit). The 'how to exit vim' question has racked up millions of views on Stack Overflow.
▶ Quration AIQ

terminal

'Run the backup script at 3 a.m. every day' — which venerable Linux scheduler has handled jobs like this for decades?Which environment variable holds the list of folders the computer searches for commands?What's this feature called?Which command follows a file's tail and shows each new line as it arrives?Which command is the terminal's task manager, showing processes with live CPU and memory usage?What is it short for?The 'Hello World' of shell scripting, and the command you reach for whenever you need to check a variable's value?Where does 'cd ~' take you?What's the fundamental key combination to interrupt it?What's this file, saved with a .sh extension, called?What's this approach called, in contrast to the icon-clicking GUI?What is it?

Quration — Quration AIQ