Unix filters are programs that read from standard input and write to standard output, transforming text data. pg, awk, and grep are all filters. ksh (KornShell) is a shell/interpreter, not a filter - it executes commands interactively or from scripts.