Stupid yet simple question

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
skaaterdd
New to forums
New to forums
Posts: 5
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Jun 05, 2015 12:31 pm

Stupid yet simple question

Post by skaaterdd »

when i go into a file like visudo and i edit what i want. how do i exit out i have looked at some tutorials about you have to hit exit then ::wq but when i hit exit i am still in edit mode can someone help?

P.S. this i a linux server using ubuntu.
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Stupid yet simple question

Post by Spray »

After you finish editing, try hitting escape to exit editing mode, then type :wq and hit enter to save and exit.
skaaterdd
New to forums
New to forums
Posts: 5
Joined: Fri Jun 05, 2015 12:31 pm

Re: Stupid yet simple question

Post by skaaterdd »

didnt work i just get an error saying unkown command.

please help,

thanks,

joe
User avatar
Vanderburg
Former staff
Former staff
Posts: 1253
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

Re: Stupid yet simple question

Post by Vanderburg »

Have you tried simply using nano? Then you can use CTRL+X, then "y" and enter to save and exit.
Post Reply