我已经运行了一些bash脚本,但是才刚刚开始编写自己的脚本。 我想知道脚本完成后在哪里开始添加最终印刷品 例如
username created by script port to use created by script
password created by script
login url created
etc that shows print out when a script has installed
如果我能更好地解释 我运行我的脚本来从头开始设置服务器,该脚本更改了ssh的默认端口,并在脚本完成后安装了网站和ssl cert,是否有可能将端口和登录详细信息回显到安装结束时的用户 例如:
your port for SSH is now 2222
your url login is https://overflow.com
your password is letmein
your username is andrew
have a nice day