top of page
book of spells.webp

Start your journey towards mastering the CLI with our FREE Command Line Book of Spells.

By entering your email address you agree to receive emails from Command Line Wizardry. We'll respect your privacy and you can unsubscribe at any time.

Linux tr Command Overview

  • Writer: Paul Troncone
    Paul Troncone
  • Apr 21, 2020
  • 1 min read

Updated: Apr 9, 2021


In this video we look at the tr command and its uses:

  • Replacing characters

  • Deleting characters

  • Squeezing characters

Common Command Options

-d    Delete         Delete a specified character
-s    Squeeze        Remove character repeats


bottom of page