how to write .sh file executable in ubuntu code example Example: ubuntu make sh file executable chmod +x <fileName> sudo ./<fileName>