News for hackers. Stuff that matters.
Re:Unix Commands I Wish I’d Discovered Years Earlier by laumars on Tuesday September 10, 2013 @12:12PM (#6360968)
A regex match will do that easily enough:

    tree | egrep -o "[0-9]+ file(s|)"
edit: or you could just tail the output (should have thought of this first!)

    tree | tail -n1

There are no comments on this comment yet.