简体   繁体   English

通过可执行文件执行Linux Redhat命令

[英]Linux Redhat Command Execution via executable files

How can i execute commands in terminal via an executable file. 我如何通过可执行文件在终端中执行命令。 We can realize this in windows with .bat files. 我们可以在Windows中使用.bat文件来实现这一点。 Does linux redhat provide the same? linux redhat是否提供相同的功能?

Yes. 是。 Use BASH , the shell common to most Linux distributions. 使用BASH ,这是大多数Linux发行版的通用外壳。 You will find the "Advanced BASH scripting Guide" useful. 您会发现“高级BASH脚本编制指南”很有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM