A country that has this government is Cuba.
"Socialism" is sometimes used interchangeably with "communism" but the two philosophies have some stark differences. Most notably, while communism is a political system, socialism is primarily an economic system that can exist in various forms under a wide range of political systems.
command economy - production of goods and services is determined by a central government, which usually owns the means of production. Production does not necessarily reflect the consumer demand.
The central government make the decisions.