Operating System - HP-UX
1762963 Members
2294 Online
108909 Solutions
New Discussion юеВ

Re: Strange files in /var/tmp

 
SOLVED
Go to solution
fly_fisher
Advisor

Strange files in /var/tmp

Hi all,

Some files called Ex##### and Rx##### have appeared in /var/tmp. They are quite big and I don't know what they are and why they have appeared. How could I guess it ?

Thank you very much,
Regards.
Catch and release !!!!!!
5 REPLIES 5
Ravi_8
Honored Contributor

Re: Strange files in /var/tmp

Hi,

If ur system is trusted, we can make out who has created these files.
if u r not interested move these files and delete
# mv Ex###### x
#rm x

never give up
fly_fisher
Advisor

Re: Strange files in /var/tmp

Looking in the web I've seen that theese files are created by the ex editor, but I don't use it. The ##### seems to be a PID.

I don't know how to interpret what they contain.

Thanks.
Catch and release !!!!!!
Tim D Fulford
Honored Contributor

Re: Strange files in /var/tmp

Before deleting the files do an fuser on them to amke sutre they are not active.

Tim
-
Carlos Fernandez Riera
Honored Contributor
Solution

Re: Strange files in /var/tmp

From man ex:

/var/tmp/Exnnnnn Editor temporary file
/var/tmp/Rxnnnnn Named buffer temporary file


from man ex,vi :

Remarks
The program names ex, edit, vi, view, and vedit are separate
personalities of the same program. This manual entry describes the
behavior of the ex/edit personality. On many HP-UX and other similar
systems, e is a synonym for ex.
unsupported
Martin Johnson
Honored Contributor

Re: Strange files in /var/tmp

These files allow you to recover your editing session in the event of a crash. You can do a "vi -r" to see what files you can recover.

Marty

P.S. Recovering an editing session is neat! You see all your key strokes rapidly appearing on your screen.