When I try to create a file from the terminal using sudo gedit hosts (I receive the following message)
78984
Saving a file in gedit prints a warning in terminal
31132
How do I save terminal output to a file?
6989
I can't use the terminal while gedit command is running
88391
command not found when using sudo
71830
How to fix "sudo: unable to open ... Read-only file system"?
16116
How to modify an invalid '/etc/sudoers' file?
115310
Unable to run gedit as a different user
42571
How do I run a sudo command in Emacs?
45273
Why do I get IBUS-Warning on running the sudo gedit command?
68062
Problem in creating alias, get strange messages
13634
Why does a 'sudo -i' login shell break a here-doc command string argument?
24354
Create user ID `root` to force `gedit` to create user configuration file
111046
sudo: /var/lib/sudo/navneet writable by non-owner (040777), should be mode 0700
139274
What's the difference between 'sudo [command]' and 'sudo sh [command]?
57713
How to copy files into /usr/local/? (permission denied)
37627
'Error: Read-only file system', even with root privileges in Bash shell
23612
Why does this ssh command not work? (cat ./file | ssh  "cat | sudo -t -t 'cat > /root/location/file'")