I strongly suggest that you know what you're doing before you edit anything in /etc.Thx! New problem. I get that i dont have enough rights to save the file?
Seriously, you want to use Terminal. I trust vi more then I trust a graphical text editor.Ehm, can't i edit the file without resort to terminal, that feels like a step in the wrong direction.
Seriously, you want to use Terminal. I trust vi more then I trust a graphical text editor.
I was a fan of pico when I took C and Java back in college. I just use vi now since it's sometimes the only option in emergency situations.I know vi is the most powerful editor, but using pico (or nano) can simplify the use.
Let's not drag onto too far about our text editors.I must admit. I prefer pico (and now nano) over vi. All I remember of vi is how to get out of it.
Remember, you can't spell "evil" without "vi"!
sudo pico /etc/smb.conf
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
nano is a clone of pico. My experience is only with vi, not vim, and pico.whats the difference between nano and pico? i just use nano as it sounds more "Applely"
i must admit its easier to use a text editor in the Terminal for files that have sudo permissions but for other files i just drag them into TextEdit. keeping TextEdit in the dock is useful to!
Let's not drag onto too far about our text editors.
nano is a clone of pico.