how to save files? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

how to save files?

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-31-2004
hiei hiei is offline
Registered User
 
Join Date: Mar 2004
Last Activity: 14 July 2004, 9:04 PM EDT
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
how to save files?

i just typed out a letter but want to hang on to it i typed it out in vi and was wondering how to save and exit from it? also how do you S&E from emacs since those are the two editors i mainly use any help would be appreciated
Sponsored Links
    #2  
Old 03-31-2004
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
 
Join Date: May 2001
Last Activity: 24 March 2008, 9:43 PM EDT
Location: Chicago IL, USA
Posts: 1,006
Thanks: 0
Thanked 2 Times in 1 Post
to save in vi do

ESC -> :x <filename>

that will save and exit vi.
Sponsored Links
    #3  
Old 03-31-2004
HOUSCOUS HOUSCOUS is offline
Registered User
 
Join Date: Feb 2002
Last Activity: 22 July 2008, 12:24 PM EDT
Location: Houston TX
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
when you enter the command mode, you can also use w option to write into the file, and vi could automaticly save it.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
OS X: Save mtv.com video files (they don't show up in Safari's Activity) slashdotweenie OS X (Apple) 0 02-16-2012 11:21 AM
loop through lines and save into separate files yifangt Shell Programming and Scripting 7 11-02-2011 11:51 AM
How to add data from 2 input files and save it in 1 output file redse171 Shell Programming and Scripting 4 12-15-2010 11:57 PM
How to save files in /tmp???? wrapster Solaris 3 02-24-2008 09:31 PM
can I save list of files in memory and not in text file? umen Shell Programming and Scripting 1 06-05-2006 04:27 AM



All times are GMT -4. The time now is 03:37 PM.