I have a filename @!
in my home folder. When I open it, it has the same content that my other bash file myscript.sh
has.
I have not assign execute permission to original bash file. When I have checked properties, the only difference between two file is size. Original file size is 1.1 KB and @!
file size is 714 bytes. How is it automatically created?
If you use Vim, this could be because you typed
:w@!
instead of:wq!
. On the US layout,@
is on 2, directly above QW, and right next to!
on 1. Easy to mistype.You can verify this by running Vim again, and examining the command history by either scrolling up using the up arrow key in command mode, or typing
q:
in normal mode.