In a command economy, the government has control over production, distribution, and consumption of goods and services. An example of a command economy is the Soviet Union during most of the 20th century, where the government owned and directed industries, employed most workers, and made decisions on resource allocation.
On the other hand, a mixed economy combines elements of both market and command economies. Private ownership, profit earning, and individual initiative are present, but the government also exercises control over economic activities, especially in key industries. Countries like the USA, UK, Japan, and Bangladesh have mixed economies, where the market and government both play significant roles in production, distribution, and consumption.
I hope this provides you with the information you were seeking.