How does Finder.app decide what a file is if it has no extension?

Solution 1:

100-rvictl is Unix executable because it has +x attribute to it

chmod -x 100-rvictl

chmod +x 100-rvictl