8. Stdout and Stderr

Table 8.2. String

Command

Type

Description

printf

format and print data

printf

formatted output conversion

sed

stream editor for filtering and transforming text

echo -e

echo -n

echo

display a line of text

iconv

convert text from one character encoding to another

iconv

perform character set conversion

printenv

print all or part of environment

expand

convert tabs to spaces

tr

translate or delete characters

9. > and >>

10. < and <<

11. 1 > /dev/null

12. 2 > &1