A man armed with a gun fired several shots in one direction on a trail in a housing district.