How to run a .sh file and Shell Scripts in Linux?

If you have used Linux for some time, you probably have come across files with the .sh extension. Whether it might be during downloading a particular software or writing your own bash scrips, these files can be sometimes tricky since…