Is there a command that allows you to do something to all entities other than yourself in minecraft? [closed]

Do something like:

@e[distance=0.001..]

This selects all entities farther than 0.001 meters from you.