Menu
Engineering

Coding & Git

One-liner

Also called one liner.

In plain English

A one-liner is a command or a small piece of code written on one line.

Example

A PowerShell command that copies a long prompt onto the clipboard is a one-liner. A single line that renames a file is also a one-liner.

Why it matters

The shape is the definition: the instruction fits on a single line. What it does depends on the command. A line that copies text to the clipboard is one example, not the meaning of the word.

Common confusion

One-liner describes the shape of the command. It does not name a Botski tool or a kind of deploy.

Updated September 30, 2026.

Cookie preferences