The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Edit a file and save the changes saurabh1982 Shell Programming and Scripting 1 02-25-2008 03:07 PM
How to print and save a file? zhshqzyc UNIX for Dummies Questions & Answers 1 02-13-2006 09:06 AM
terminal output - save to file? frustrated1 SUN Solaris 2 11-15-2005 05:19 AM
cannot save file... szzz High Level Programming 8 10-13-2003 08:21 AM
how to copy from vi and save it on another file ukadmin UNIX for Dummies Questions & Answers 3 09-18-2003 02:08 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2008
Registered User
 

Join Date: Jun 2008
Posts: 3
Stumble this Post!
Can't save a file

There is a file A.lcf.
I am updating the file and saving it .
But as soon as I am logging off and then logging in I am finding that the updated changes are not there in the file.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-03-2008
Registered User
 

Join Date: Feb 2008
Posts: 35
Stumble this Post!
please post

ls -al file
Reply With Quote
  #3 (permalink)  
Old 07-03-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 710
Stumble this Post!
how did you save the file in vi ?
Reply With Quote
  #4 (permalink)  
Old 07-03-2008
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,572
Stumble this Post!
Quote:
Originally Posted by suchismitasuchi View Post
There is a file A.lcf.
I am updating the file and saving it .
But as soon as I am logging off and then logging in I am finding that the updated changes are not there in the file.
Are you sure no other process is working on it ?
try lsof on that file
Reply With Quote
  #5 (permalink)  
Old 07-04-2008
Registered User
 

Join Date: Jun 2008
Posts: 3
Stumble this Post!
I saved it with :wq
Reply With Quote
  #6 (permalink)  
Old 07-05-2008
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,572
Stumble this Post!
Did you get a chance to try out what I had suggested ?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0