The standard command tee can redirect output from a command to several destinations.
ls -lrt | tee xyz
This directs the file list output to both standard output as well as to the file xyz.
ls -lrt | tee xyz
This directs the file list output to both standard output as well as to the file xyz.
Comments
Post a Comment
https://gengwg.blogspot.com/