---
name: "swab"
section: "1"
platform: "linux"
package: "odin"
version: "2.0.5-7+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/swab"
---

# swab(1)

Mirrors \<word-size\> bytes, in the case of 2, it swaps adjacent bytes

## NAME

swab: - Mirrors \<word-size\> bytes, in the case of 2, it swaps adjacent bytes

## SYNOPSIS

**swab** *\<word-size\>  \<infile\> \<outfile\>*  \[*\<block size in MB\>*\]

## DESCRIPTION

swab: Mirrors \<word-size\> bytes, in the case of 2, it swaps adjacent bytes

Usage: swab  \<word-size\>  \<infile\> \<outfile\>  \[\<block size in MB\>\]
