kwezdj123 kwezdj123 - 11 months ago 52
MySQL Question

I can't edit /etc/hostfig

I want uninstall MySQL,initially I can't use

ls
and i set
vi ~/.bash_profile insert ls='ls -a'


Then I delete
'.bash_profile.swp'
file, after this I found I can't edit
/etc/hostconfig



tip:-bash:edit:command not found.

Answer Source

You must use the user with the correct rights and this would be root or sudo.