Friday, November 12, 2010

To Make A Self-Reading Text File!



To make a text file self-read, add the following line at the beginning of the file -
#!/bin/more
then make the file executable -
$ chmod +x
The file can be executed as
$ ./filename.txt