繁体   English   中英

如何创建一个运行五个 osmocom 脚本的 sh 脚本?

[英]How can I create a sh script for running five osmocom scripts?

如何创建一个 sh 脚本以使用一个代码启动我的 osmocom 应用程序? 例如,我创建了starter.sh 它包含这些: osmo-stp & osmo-pcu & osmo-bsc & osmo-msc 但它只能打开osmo osmo-stp ,不能打开其他应用程序。 像这样:

root@kali:~# ./starter.sh
Copyright (C) 2015-2017 by Harald Welte <laforge@gnumonks.org>
Contributions by Holger Freyther, Neels Hofmeyr
License GPLv2+: GNU GPL Version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Free Software lives by contribution.  If you use this, please contribute!

如何创建一个 sh 脚本以一次提示打开所有 osmocom 应用程序?

在后台运行它们对你有用吗? 您可以在命令末尾使用&在后台运行它。 所以,你的starter.sh看起来像 -

osmo-stp &
osmo-pcu &
osmo-bsc &
osmo-msc &

暂无
暂无

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

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