How to run the Linux program
This article mainly introduces how to run the Linux program, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
There are three ways to run linux programs, which are:
1. Make the file executable and run the file directly.
The chmod command modifies the permissions of the file. + x gives the file executable permissions. Just like we run the program above. But the results we see are somewhat different from what we imagined.
2. Directly call the command interpreter to execute the program.
Since our interpreter is / bin/sh, we use the sh command interpreter to execute the program.
3. Use source to execute files.
Thank you for reading this article carefully. I hope the article "how to run the Linux Program" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!