If you have ever encountered those strange files with a .sh tag and didn’t know what they were meant for, you have come to the right place.
A .sh file is a script files similar to a batch file in Windows. They are used to execute programs or start the execution of programs.
To run them simply fire up a terminal (Applications->Accessories-> Terminal). Remember you have to be root to execute these files.
- Change to the directory in which the file is situated (cd /home/myfoldername/folder/)
- Type sudo ./pkgename.sh wher pkgename is the name of the file.
- Type the password and you are ready to go.
Note: sudo is used only for Ubuntu based distros for others use su.