Get capabilities of a binary in Linux

Binaries can have capabilities that can be used while executing. To get those use getcap command:

sudo getcap /usr/bin/ping
Also, you can search binaries with capabilities using the following command:
sudo getcap -r /