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