---
name: "syd-elf"
section: "1"
platform: "linux"
package: "syd"
version: "3.59.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/syd-elf"
---

# syd-elf(1)

Print executable file information

## NAME

**syd-elf** - Print executable file information

## SYNOPSIS

**syd-elf** *\[-36dhpstxX\]* *binary\|script*

## DESCRIPTION

Given a binary, print file name and ELF information.

Given a script, print file name and "SCRIPT".

The information line is a list of fields delimited by colons.

## OPTIONS

| | |
| --- | --- |
| **-h** | Display help and exit. |

| | |
| --- | --- |
| **-3** | Exit with success if the given binary is 32-bit. |

| | |
| --- | --- |
| **-6** | Exit with success if the given binary is 64-bit. |

| | |
| --- | --- |
| **-d** | Exit with success if the given binary is dynamically linked. |

| | |
| --- | --- |
| **-s** | Exit with success if the given binary is statically linked. |

| | |
| --- | --- |
| **-p** | Exit with success if the given binary is a Position Independent Executable (PIE). |

| | |
| --- | --- |
| **-t** | Print the type of the file as an abbreviation. |

| | |
| --- | --- |
| **-x** | Exit with success if the given executable is a script. |

| | |
| --- | --- |
| **-X** | Exit with success if the given binary has executable stack. |

## SEE ALSO

[*syd*(1)](/syd/1.md), [*syd*(2)](/syd/2.md), [*syd*(5)](/syd/5.md), *[syd-ldd(1)](/syd-ldd/1.md),* ldd\_(1)

**syd** homepage: https://sydbox.exherbo.org/

## AUTHORS

Maintained by Ali Polatel. Up-to-date sources can be found at https://gitlab.exherbo.org/sydbox/sydbox.git and on Radicle at rad:z38HCnbmcDegA2BMxuPaPRPMdp6wF. Bugs/patches can be submitted to https://gitlab.exherbo.org/groups/sydbox/-/issues. Discuss in #sydbox on Libera Chat or in #sydbox:mailstation.de on Matrix.
