Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-28-2009, 10:03 AM   #1
Registered: Sep 2008
Location: North East England
Posts: 120

Rep: Reputation: 15
Saving in Nano.

I have have put a large amount of text in terminal using nano but I am not to sure how to save it. What I have done is Ctrl-O following instructions on how to save in nano and I get File name to write: /etc/init.d/nginx and a space next to it that I could put something in, maybe YES I don't know. Could anyone please tell me what I should put in to save as I would hate to lose it as it took some time to do.
I am using ubuntu 8.10.
Old 12-28-2009, 10:09 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You just need to hit "Enter" to save the file. If you want to use a different filename, then get rid of the text that's there and enter the filename you want.
1 members found this post helpful.
Old 12-28-2009, 10:20 AM   #3
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Ctrl+x should prompt you if you would like to save it , press Y and then modify/enter filename and press enter.
1 members found this post helpful.
Old 12-28-2009, 10:39 AM   #4
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
I have thanked you for both answers as one led to another and worked.
Old 12-28-2009, 12:45 PM   #5
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498

I understand the joy that a problem was solved through the two helps, allow me then to guide you this: You can press-Click that blue Thumbs Up button at the right of their signatures for "Nylex" and ~ShyLoCK~ and that's the only priestly tithes due them in the church of The Linux Questions. ha ha ha.
We are all but frogs here in the newbies water, yet frogs could be thirsty too.

I was benefited of their two short posts and I have clicked them for my tithes.

Last edited by malekmustaq; 12-28-2009 at 12:48 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
nano vs vi Cinematography General 50 10-28-2007 11:00 PM
About nano satimis Linux - Software 3 05-03-2007 11:01 PM
NANO gone crazy namit Linux - Software 6 01-07-2006 12:17 PM
nano hostmark101 Linux - Newbie 8 08-12-2005 07:53 PM
saving and not saving sessions on desktop ergo_sum Linux - Newbie 2 09-26-2003 08:27 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration