Re: What is the proper tool to use for editing files on a server?
I'd suggest logging in to the server with ssh. If you have a static IP for the server, and you should:
Code:
ssh -l user 192.168.blah.blah
Then I'd use vim:
Code:
sudo vim /etc/config/file
After you have saved and closed the file, you'll need to restart any services dependent on the file:
Code:
sudo service example restart
Then log out of ssh and you're done.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Bookmarks