# capitalize a raw string 'abc' echo abc | tr a-z A-Z ABC # capitalize text from file 'hello_world.text' tr a-z A-Z < hello_world.text HELLO WORLD