Solved

A vi question on Linux Mandrake 8.2

Posted on 2002-06-12
3
211 Views
Last Modified: 2013-12-13
I'm using the vi editor on Linux Mandrake 8.2. Every time I save the file, it creates another file, named myfile~ by adding a ~ after the filename.
But I don't want to have this extra backup file created automatically by vi. I'm tired of deleting it all the time.
How can I setup vi so that it does not create such files?

Stephane
0
Comment
Question by:stephaneeybert
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
ThePunisher earned 50 total points
ID: 7074838
try locating a file called .vimrc.  It may be in your home directory.  This file sets all the options for your editor.  Comment out the backup line and this should fix your problem.
0
 

Author Comment

by:stephaneeybert
ID: 7075022
I just have a .viminfo file, which contains the history of the editing. I can't find a resource file for vi.
0
 

Author Comment

by:stephaneeybert
ID: 7075035
I created a file named .vimrc in my home directory, and now it works fine! Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How search webpage "viewable text" only 1 63
Check if a filw is immutable for a certain amount of time 6 49
nagios remote hosts 9 46
Linux VM 6 54
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now