Does "command" mean the same thing in these two sentences?

General Smith was placed in command.

A good command of French.
different meanings