How to send one command to multiple PC's over LAN (linux)

I think that PSSH is the tool you are looking for. See Execute commands simultaneously on multiple servers Using PSSH/Cluster SSH/Multixterm.

An alternative is DSH. See Running Remote Commands on Multiple Servers with SSH and Dsh.

You may also take a look at Puppet.