How to run Linux programs

Release: 2020-01-14 10:53:23
Original
5250 people have browsed it

How to run Linux programs

There are three ways to run linux programs, namely: (Free video tutorial sharing:linux video tutorial)

1. Make the file accessible Execute permissions to run the file directly.

chmod command is used to modify the permissions of files. x gives the file executable permissions. Just like we ran the program above. But the results we saw were somewhat different from what we imagined.

How to run Linux programs

#2. Directly call the command interpreter to execute the program.

As shown in the figure below:

How to run Linux programs

Since our interpreter is /bin/sh, we use the sh command interpreter to execute the program.

3. Use source to execute the file.

How to run Linux programs

Recommended related articles and tutorials:linux tutorial

The above is the detailed content of How to run Linux programs. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!