tr
Verified for current stable LTS
Tr Command: Delete Characters From Input
Use for delete characters from input with Tr. Exact CLI syntax to delete characters from input using Tr.
When to use this: Use for delete characters from input with Tr.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
tr < <path/to/file> -d '<input_characters>' tr < <path/to/file> -d '<input_characters>' Live Command Builder
Final Command
tr < <path/to/file> -d '<input_characters>' Command Breakdown
-d- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to delete characters from input using Tr.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Tr Command: Map Characters From File
tr < <path/to/file> '<abcd>' '<jkmn>' Tr Command: Replace Character From Output echo <text> | tr <find_character> <replace_character> Tr Command: Replace Character In File tr < <path/to/file> <find_character> <replace_character> Tr Command: Squeeze Identical Characters tr < <path/to/file> -s '<input_characters>' Tr Command: Strip Non Printable Characters tr < <path/to/file> -cd "[:print:]"