Sample Header Ad - 728x90

How to Open a File with SUDO from within nnn File Manager

0 votes
1 answer
803 views
While using nnn , I need to edit a file that requires sudo privileges. I love that I'm able to navigate quickly to the file I want to edit using nnn, and how it immediately opens the file in my editor. Yet upon making modifications, I cannot save the file without root privileges. This really breaks the flow of what I like about nnn. Is there a quick way I can launch the editor from a file in nnn (with sudo)?
Asked by Lonnie Best (5415 rep)
Jul 28, 2022, 04:14 AM
Last activity: Jul 28, 2022, 06:19 AM