This command kills the cannibal or mutant that is closest to your character.
The syntax for the killclosestenemy command is as follows:
killclosestenemy
Find below working examples of the killclosestenemy command.
killclosestenemy
This is the only way you can use the killclosestenemy command.