|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
#filename#
I've just noticed in a couple places on my system (rh 7.2) that when I list a directory's contents, I see what looks like a file surrounded by hashes: #filename#
The filename part corresponds with a real file--for example, I have a shell script called 'backup' running as a cron. The otherday, I see #backup# in the same directory. But I can't open/read the latter or move it or delete it. Can someone please tell me what these are? Thanks very much. |
|
#2
|
||||
|
||||
|
swap files? I'm guessing here. I use vi and vi creates .swp files when editing. These #file# files might be created by another app what editor are you using - I'll give it a try!
christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#3
|
|||
|
|||
|
well, I think you're onto something there. I use emacs. Maybe these are scratch files (unsaved modified buffers)...
what do think? |
|
#4
|
||||
|
||||
|
Actually those files are generated by emacs. I think they're generated when emacs auto-backs up a file for you. Normally the file is deleted when you save or kill a buffer. However, if your emacs session gets killed midway, then the file will remain there.
|
|
#5
|
||||
|
||||
|
They are auto-backup files from emacs, I get them too.
you can delete them from the shell by prefixing the # with a \, thusly: Code:
rm \#file# |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > #filename# |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|