Turn the file into an executable file in the terminal

chmod +x +filename

Note: The plus sign in front of x cannot be omitted, and the plus sign in front of the file name can be omitted

./ + file name (the file name must be a (green) executable file) to execute the file in the current directory

Guess you like

Origin blog.csdn.net/Toml_/article/details/131446343