commands
capsh — Decode a capability mask
Decode a hexadecimal capability mask without granting privileges. Names depend on libcap version. Use a fresh private workspace; do not apply to a real system.
Formal Syntax & Structure
linux syntaxlinux
capsh --decode=HEXParameters & Attributes
| Name | Type | Description |
|---|---|---|
| --decode | option | Hexadecimal capability mask |
Return Value
exit status and output
The decode option prints the capability names represented by the supplied mask. This is a conversion of input data, not a grant of capabilities or an inspection of the current process's effective set.
Working Example
Example Snippetlinux
capsh --decode=0000000000000400