---
name: "kpsestat"
section: "1"
platform: "linux"
package: "texlive-doc"
version: "2026.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/kpsestat"
---

# kpsestat(1)

compute octal mode from mode of existing file

## NAME

kpsestat - compute octal mode from mode of existing file

## SYNOPSIS

**kpsestat** *mode* *file*

## DESCRIPTION

**kpsestat** prints the octal permission of *file* modified according to *mode* on standard output.  The *mode* parameter accepts a subset of the symbolic permissions accepted by [**chmod**(1)](/chmod/1.md). Use **=** as the mode to obtain the unchanged permissions.

## OPTIONS

**kpsestat** accepts the following options:

- **--help**

  Print help message and exit.

- **--version**

  Print version information and exit.

## SEE ALSO

[**chmod**(1)](/chmod/1.md).
