News for hackers. Stuff that matters.
Re:Scans of North Korean IP Space by yourad_io on Saturday December 20, 2014 @03:15PM (#8777772)
also, very conveniently under /etc/services (Linux, MacOS)

    $ grep SSH /etc/services 
    ssh		22/tcp				# SSH Remote      Login Protocol
    $
Re:Scans of North Korean IP Space by teddyh on Saturday December 20, 2014 @06:42PM (#8778393)
I’d use “getent”:

    $ getent services ssh
    ssh                   22/tcp
    $
Re:Scans of North Korean IP Space by percept on Saturday December 20, 2014 @07:44PM (#8778533)
Tried to find the Darwin equivalent, without success. (Besides looking at the file, but where's the fun in that?)