Daniel Grier, aged 38, had a pocket knife with a three-inch blade in Bailey Head, Oswestry on Tuesday, January 3.
As well as pleading guilty at Kidderminster Magistrates Court to possession of a knife in a public place, Grier, who is from Shrewsbury but of no fixed abode, admitted driving without a licence and using a motor vehicle without insurance.
He was caught driving a Vauxhall Meriva in Bailey Head on the same occasion he was found in possession of the knife.
Magistrates handed Grier a six-month prison sentence, suspended for 12 months. He was disqualified from driving for 12 months and fined £120. His driving record was endorsed.