bash tr-command to delete single or multiple characters

Let us explore a few examples to delete single or multiple characters using bash tr command

#1. bash tr, how to delete a single character?

# Example for deleting a letter l (lowercase L)
echo "Hello World" | tr -d 'l'

# Output
Heo Word

#2. bash tr, how to delete multiple characters?

# Example for deleting a letter l (lowercase L)
echo "Hello World" | tr -d 'l,o'

# Output
He Wrd

Reference to bash tr man page:

admin@codetryout:~$ man tr
...
...
NAME
       tr - translate or delete characters

SYNOPSIS
       tr [OPTION]... SET1 [SET2]
...

       -d, --delete
              delete characters in SET1, do not translate
...

Please let us know if you have questions.