getcap
Command to display the name and capabilities of each specified file. More information: <https://manned.org/getcap>.
Install
- All systems
-
curl cmd.cat/getcap.sh
- Debian
-
apt-get install libcap2-bin
- Ubuntu
-
apt-get install libcap2-bin
- Alpine
-
apk add libcap
- Arch Linux
-
pacman -S libcap
- Kali Linux
-
apt-get install libcap2-bin
- CentOS
-
yum install libcap
- Fedora
-
dnf install libcap
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libcap2-bin
- Raspbian
-
apt-get install libcap2-bin
- Dockerfile
- dockerfile.run/getcap
- Docker
-
docker run cmd.cat/getcap getcap
powered by Commando
Command to display the name and capabilities of each specified file. More information: <https://manned.org/getcap>.
-
Get capabilities for the given files:
getcap path/to/file1 path/to/file2 ...
-
Get capabilities for all the files recursively under the given directories:
getcap -r path/to/directory1 path/to/directory2 ...
-
Displays all searched entries even if no capabilities are set:
getcap -v path/to/file1 path/to/file2 ...
© tl;dr; authors and contributors