Also, you may use the ls command to check and see if a file is executable:
Code:
ls -l /home/james/Desktop/zdesktop_0_90_build_1278_linux_i686.sh
Output:
rwxrwxrwx
(user)(group)(others)
The output is in a format: rwx (read)(write)(execute)
It is in bit format, 4,2,1
Example:
Code:
chmod 755 /home/james/Desktop/zdesktop_0_90_build_1278_linux_i686.sh
chmod 755 would make:
(rwxr-xr-x)
7 = 4,2,1 one bit in each = rwx (for you)
5 = 4,1 = r-x (for your group)
5 = 4,1 = r-x (for all)