Knock about
In the sense of wandering or loitering around in an aimless or carefree manner, dates from the late 19th century.