=======================================================
#redirect to file
=======================================================
#redirect to file
=======================================================
[prabhucloudxlab@cxln4 ~]$ cat>hello.sh
#! bin/bash
echo "hello bash script">hello.txt
[prabhucloudxlab@cxln4 ~]$ sh hello.sh
[prabhucloudxlab@cxln4 ~]$ cat hello.txt
hello bash script