Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Me using one txt filefrom terminal .... suddenly My Computer was improperly shutdown accidentally....then i reboot it..... and trying to use same txt file from terminal.... at that time i got this swap file message.. as follows
Found a swap file by the name ".Abbrevations_ofComputerWords.txt.swp"
owned by: root dated: Thu Jan 6 11:02:32 2005
file name: ~root/zam/Abbrevations_ofComputerWords.txt
user name: root host name: redhat
process ID: 4237
While opening file "Abbrevations_ofComputerWords.txt"
dated: Fri Jan 7 14:50:04 2005
NEWER than swap file!
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r Abbrevations_ofComputerWords.txt"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".Abbrevations_ofComputerWords.txt.swp"
to avoid this message.
this is the first time i experience with such type of incident..
.............Actually what is this "Swap File"????????????
why it was created?
i went with R option for recovery....? any help would be appreciate
well mr electro... actaully my question was ....among 4 options Recovery , Delete, Edit,Read Only.... which option is recommended???????
Suppose what happens when we select first- Delete instead of recovery... ??
I created one file .txt and shutdown improperly.. and then restart this time select Delete option... after that i got my previous file (original file) .... then i created another file .txt and I done same process now this time i select Recovery .... my file was recovered ... i closed this file again i started this .txt file ... i got this swap file message again .... so from this experiment what can i concluded .. that Delete is Recommended than other three options?.....is it correct??????
I understand "swap file" as being like virtual RAM. I was told the swap file system was introduced to compensate for inadequate amounts of RAM in early computers.
As for your problem I don't know much about linux but I would guess your system did not shutdown cleanly and the text file you were working on "got stuck" in the swap. Recovery was probably the best option so if it works save your text file somewhere and if you get the same message next time you load then delete it.
If you are working from console make sure you shut down propoerly using the "halt" command.
Originally posted by Electro Sorry I'm not going to tell you what to do.
Useless post. If you are not going to help, why on earth did you bother posting? The original poster is obviously new to this and has never encountered the problem. If you see a post you are unwilling to help with, pass on by: it is pointless to post only to say that you don't want to help.