Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5310

Beginners • Re: Help for a very old beginner

$
0
0
I then found Emacs and tossed vi to the curb as it justly deserved.
My route was nearly the opposite and favoured vi and later vim. Swapping caps lock with escape on modern keyboards is a big ergonomic win for me but it doesn't help as much for emacs.

Going back to the original topic, with Unix and subsequently Linux there is a root user who traditionally has the privilege to edit every file on the system. To overcome the difficulty editing mosquito.conf, it's possible to use sudo to run your favourite editor as the root user.

That could be

$ sudo vi /etc/mosquitto/mosquitto.conf

or

$ sudo emacs /etc/mosquitto/mosquitto.conf

or less likely

$ sudo nano /etc/mosquitto/mosquitto.conf

According to the dog developer, very few people actually like nano. It was created as an inside joke to recommend for beginners and to quickly identify the same at technical job interviews.

In my opinion nano can be useful for editing configuration files. It's not so good for code.

Statistics: Posted by ejolson — Fri Aug 02, 2024 1:10 pm



Viewing all articles
Browse latest Browse all 5310

Trending Articles