---
name: "getfmac"
section: "8"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/getfmac"
---

# getfmac(8)

print MAC label for a file system object

## NAME

**getfmac** – print MAC label for a file system object

## SYNOPSIS

**getfmac** \[**-h**\] \[**-l** *list,of,labels*\] \[*file ...*\]

## DESCRIPTION

The **getfmac** utility prints the text representation of the MAC label associated with the specified files.

## SEE ALSO

[mac(3)](/mac/3.md), [mac\_get\_file(3)](/mac_get_file/3.md), [mac(4)](/mac/4.md), [maclabel(7)](/maclabel/7.md), [getpmac(8)](/getpmac/8.md), [setfmac(8)](/setfmac/8.md), [setpmac(8)](/setpmac/8.md), [mac(9)](/mac/9.md)
