To make a text file self-read, add the following line at the beginning of the file -#!/bin/morethen make the file executable -$ chmod +xThe file can be executed as$ ./filename.txt
Subscribe to:
Post Comments (Atom)
I have been using Linux for quite some time now. Thought, I would share some of the neat tricks I learnt over the years.
0 comments:
Post a Comment