Saturday, September 16, 2023

How to get grant execute permissions

The "Permission denied" error you're encountering indicates that you don't have 
execute permissions for the build.sh script. To fix this, you'll need to grant execute 
permissions to the script before running it. Here's how you can do that:

Check Current Permissions:
Run the following command to view the current permissions for the build.sh script:


                                        ls -l build.sh

This will show you the permissions in the format -rwxr-xr-x where the 'x' indicates 
execute permissions.

Grant Execute Permissions:
If the script doesn't have execute permissions (lacking 'x'), you can grant them using 
the chmod command:


                                      chmod +x build.sh

This command adds execute permissions to the script.

Verify Permissions:
Run ls -l build.sh again to confirm that execute permissions have been granted.

Run the Script:
Now you should be able to run the script:


                                    ./build.sh

If successful, this will execute the script.

Monitor the temperature of your Raspberry Pi using an I2C LCD without an external temperature sensor

Untuk memantau suhu Raspberry Pi menggunakan LCD I2C tanpa sensor suhu,  anda boleh melihat suhu CPU terus dari Raspberry Pi dan memaparka...