the above examples ls -lF /opt/apache > files.txt is the same as ls -lF /opt/apache 1> files.txt. Also, sort < files.txt is the same as sort 0< files.txt. Do not use a space between the file descriptor number and the redirection operator. The file descriptor must immediately precede the redirection operator, otherwise it will be interpreted as another item on the command line.

