What is ee ?
Type it in and see what happens.
What is ee ?
$ man <command>
, learning to use the man(1) command is fairly essential, nobody is going to remember all those strange options and arguments for every command in existence. Manual pages provide a clean and easily accessible way to lookup that information. In this case just enter $ man ee
to see what ee(1) is.Judging by the$ visudo but in came back in the terminal " the command does not exist" any help on this.
$
prompt you're trying to run this as a user, it needs to be run by root. Only root can modify the sudoers file (which is what you're doing with the visudo(8) command). Also note that visudo(8) will run the editor that's set with the EDITOR variable, which is vi(1) by default. sudo
needs to be installed. It's not in the base system.… visudo(8) will run the editor that's set with the EDITOR variable, …
VISUAL
variable.root@mowa219-gjp4-8570p-freebsd:~ # setenv EDITOR ee
root@mowa219-gjp4-8570p-freebsd:~ # visudo
visudo: /usr/local/etc/sudoers.tmp unchanged
root@mowa219-gjp4-8570p-freebsd:~ # echo $EDITOR
ee
root@mowa219-gjp4-8570p-freebsd:~ # visudo
visudo: /usr/local/etc/sudoers.tmp unchanged
root@mowa219-gjp4-8570p-freebsd:~ # echo $SHELL
/bin/csh
root@mowa219-gjp4-8570p-freebsd:~ # grep nano ~/.cshrc
setenv EDITOR /usr/local/bin/nano
setenv VISUAL /usr/local/bin/nano
root@mowa219-gjp4-8570p-freebsd:~ # setenv VISUAL ee
root@mowa219-gjp4-8570p-freebsd:~ # visudo
visudo: /usr/local/etc/sudoers.tmp unchanged
root@mowa219-gjp4-8570p-freebsd:~ #
$EDITOR
was ee
, visudo
used nano
.)… as command line #sysrc gnome_enable="YES" and after #sysrc dbus_enable="YES" …
#
when typing.… On many Unix and derivative systems, the prompt commonly ends in $ or % if the user is a normal user, but in # if the user is a superuser ("root" in Unix terminology). …
how in you save the page ? and get out ?
I suggested in an earlier post to learn the tools before proceeding and you are asking again how to save in a text editor? I sometimes wish there was a thumbs down button.how in you save the page ? and get out ?
This would not save but only exit without saving.
- Escape
- :
- q
- !
- Return or Enter
Let's add the missing write then:This would not save but only exit without saving.
This would not save but only exit without saving.
… learn how to wipe his *ss …
Being shat on by vi is exceptional.
Just go out of insert mode with Escape, and then just type ZZHi i was able to get in visudo and also we vieditor and create giuseppe ALL ALL but how in you save the page ? and get out ?
I don't know. After forty years of unix, I am still lost on vi.so is the procedure correct to save the visudo file as I wrote above?
Presumably, that is rhetorical.Easy, isn't it?