Can't find "sudo gedit" alternative
#4
Indeed, please don't escalate the privileges of text editors. Use one of these (identical) commands instead:

Code:
sudo -e || sudoedit

If you're using Bash, try this:

Code:
printf '%b' "export EDITOR=gedit\nexport VISUAL=gedit\n" | tee -a ~/.profile
. ~/.profile && echo $EDITOR $VISUAL
sudo -e /path/to/file


Messages In This Thread
Can't find "sudo gedit" alternative - by mh4it - 09-08-2020, 12:50 PM
RE: Can't find "sudo gedit" alternative - by User 18618 - 09-10-2020, 03:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  sudo broke - "/usr/bin/sudo must be owned by uid 0 and have the setuid bit set" cowsay 2 3,093 07-07-2021, 12:41 PM
Last Post: cowsay
  Cannot find a method of flashing to EMMC that works MarkF 4 6,159 10-30-2020, 09:06 PM
Last Post: discogribbs
Sad ERROR: Could not find dependency 'firmware-rtl8723bt' Engineer 4 6,124 06-16-2020, 12:29 PM
Last Post: Engineer

Forum Jump:


Users browsing this thread: 1 Guest(s)