Why is there an extension in the log file?

My log files are created inside a specific directory on my Linux server. Sometimes, when I look at the log files inside this directory with ls -lart, I see:

abc.log
.abc.log.swp

Can someone explain why the log file has a name .abc.log.swp?

+3
source share
2 answers

These are vimβ€œswap” files β€” temporary files created vimduring file editing. They (usually) are automatically deleted when you exit the editor.

+9
source

vi , .swp. - , , , .

, . , , .

+2

All Articles