Running a file on Linux is the process of executing a set of instructions contained within a file. This can be done by typing the name of the file into a terminal window, followed by the Enter key. For example, to run a file named “hello.sh”, you would type the following into a terminal window:
./hello.sh
This would cause the shell to execute the contents of the “hello.sh” file. The shell is a program that interprets commands and executes them. In this case, the shell would execute the contents of the “hello.sh” file by starting a new process. The new process would then run the instructions contained in the “hello.sh” file.