execute file in linux code example Example 1: linux make executable chmod 755 file.sh Example 2: linux how to execute a file ./file_name.sh