how to use a scrip as a program in linux code example Example: how to run shell script chmod +x <fileName> ./fileName. # or use ->. bash fileName