How to delete swap file ?

1,200 views
Skip to first unread message

Vishal Joshi

unread,
Sep 16, 2010, 2:30:21 AM9/16/10
to vg...@googlegroups.com
Dear all,

When I try to open the httpd.conf file, it shows me that "/etc/httpd/conf/httpd.conf.swp" already exists.

So how to delete this swap file ?

Best regards,
Vishal Joshi

Alok Thaker

unread,
Sep 16, 2010, 2:52:45 AM9/16/10
to vg...@googlegroups.com
swap is a hidden file do a ls -la and would have .swp extension. do a rm -rf  *.swp and you would be able to remove that file.

Thanks,
Alok
Inferno Solutions !
www.inferno.co.in !
Go with the best !
All Linux-Java-Web Solutions-Training under one Roof !
M:- 9925519798



--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

Sham Arsiwala

unread,
Sep 16, 2010, 2:56:47 AM9/16/10
to vg...@googlegroups.com
On Thu, Sep 16, 2010 at 12:00 PM, Vishal Joshi <visha...@gmail.com> wrote:
Dear all,

When I try to open the httpd.conf file, it shows me that "/etc/httpd/conf/httpd.conf.swp" already exists.

Easy way


 
So how to delete this swap file ?

rm  /etc/httpd/conf/httpd.conf.swp

Best regards,
Vishal Joshi

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG



--
Regards
SHAM P. ARSIWALA.
RedHat Certified Engineer
M.: 9327247499.
ElectroMech Corporation

www.electromech.info

Tejas Barot

unread,
Sep 16, 2010, 2:57:48 AM9/16/10
to vg...@googlegroups.com
Hello,

On Thu, Sep 16, 2010 at 12:00 PM, Vishal Joshi <visha...@gmail.com> wrote:
Dear all,

When I try to open the httpd.conf file, it shows me that "/etc/httpd/conf/httpd.conf.swp" already exists.

You have written wrong output here i guess. swp file is remain hidden so execute below command :-

rm -rf /etc/httpd/conf/.httpd.conf.swp

Hope this helps.
 

So how to delete this swap file ?

Best regards,
Vishal Joshi

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG



--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

"Those who says Linux is not User Friendly that means,
They don't want to be a Expert USER or,
They don't want to get Friendly with Expert FRIEND - Tejas Barot"


Vishal Joshi

unread,
Sep 16, 2010, 3:01:42 AM9/16/10
to vg...@googlegroups.com
Yes Sir, I deleted the swp file..

Thanks all .

Regards,
Vishal

milap

unread,
Sep 16, 2010, 9:22:16 AM9/16/10
to vg...@googlegroups.com
hi Vishal

i think no need to delete this file
just stop all jobs than it's working fine...

jobs -s ( it's bash Builtin Commands )

it's Display readline key sequences bound to macros and the strings they output in such a way that they can be re-read.

if it is not help you out than use

rm -rf /etc/httpd/conf/httpd.conf.swp

that's it....

Regards
Milap Amin

###########################################################
On Thu, 16 Sep 2010 12:19:08 +0530 wrote
--
>
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
>
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
>
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
>
To post to this group, send email to VG...@googlegroups.com
>
For more options, visit this group at http://groups.google.com/group/VGLUG


Regards,

Milap Amin

http://milapamin.wordpress.com/

milap

unread,
Sep 16, 2010, 9:22:24 AM9/16/10
to vg...@googlegroups.com
hi Vishal

i think no need to delete this file
just stop all jobs than it's working fine...

jobs -s ( it's bash Builtin Commands )

it's Display readline key sequences bound to macros and the strings they output in such a way that they can be re-read.

if it is not help you out than use

rm -rf /etc/httpd/conf/httpd.conf.swp

that's it....

Regards
Milap Amin

###########################################################
On Thu, 16 Sep 2010 12:19:08 +0530 wrote
Reply all
Reply to author
Forward
0 new messages