/ whatever you want to find [return]
*edit stuff and use arrow keys for nav*
Or :q to quit without saving
The fact that less is installed on many more systems than nano is a testament to the bad assumptions too many devs make about who will be using these systems in the future. And yes, it’s not hard to "apt -y install nano" except at work where we have proxies and internal repos, so now I need to use vim to reconfigure apt sources just so I can use a more normal editor that doesn’t require arcane incantations to perform basic config file editing.
It's also derailing someone's Show HN with a very old and generic online argument.
Prepare and paste this into your terminal:
echo "another line" | sudo tee -a /etc/apt/sources.list