LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 02-17-2009, 04:00 PM   #1
malikah
LQ Newbie
 
Registered: Jun 2006
Posts: 12

Rep: Reputation: 0
File name followed by a tilde ~


Just wondering what a file name followed by a tilde means?

Example:

-rw-rw-r-- 1 user user 1 2009-02-17 15:23 myFile~
 
Old 02-17-2009, 04:06 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
this are backupfiles, created by some editors
 
Old 02-17-2009, 04:10 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Nothing special really. It depends on the application that created it, it has no special meaning for linux in this context. I think that some text editors use that suffix to save backups of the files you edit.

However, when it's on the beginning of a path or a file name, ~ is usually expanded to the contents of $HOME (so, cd ~/bin is the same that cd $HOME/bin).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tilde? What's the key combination to get it ? DOTT.EVARISTI Linux - Software 9 12-24-2018 05:33 PM
Tilde name shortening steveel Slackware 6 11-21-2005 03:55 AM
editor saves duplicate file with tilde after it smaudlin Red Hat 2 12-29-2004 04:37 PM
tilde in X nva Linux - General 2 06-30-2003 11:12 AM
Filenames with tilde rovoreed Programming 2 08-08-2001 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration