Translate the contents of a file to upper-case

tr

  • Translate characters: run replacements based on single characters and character sets.
    More information: <https://www.gnu.org/software/coreutils/tr>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

tr "[:lower:]" "[:upper:]" < {{filename}}

click the source code to copy install tr on any operating system with command-not-found.com