The commands normally take their input from the standard input device keyboard. Using Input redirection concept, we can have their input redirected from a file.
To redirect standard input from a file instead of the keyboard, the '<' character is used.
$ cat file1
monday
tuesday
wednsday
th...