by Guest » 11 Jan 2025, 10:15
Ich habe ein Shell-Skript von einem Anbieter, das bei der Ausführung auf einem Linux-Server eine zweimalige Eingabeaufforderung erfordert. Kann mir jemand helfen, wie wir die Eingabeaufforderung zu Automatisierungszwecken zweimal in einem einzigen Befehl bereitstellen können?
Hier sind o und 1 die Eingabeaufforderungen.
Code: Select all
sh Contrast-3.11.6.sh
Unpacking JRE ...
Starting Installer ...
Acquire Linux root privilege
Root privileges could not be acquired. The Contrast server will not be
installed as a Linux service that starts automatically on system boot and
database backups will need to be manually setup.
This will install Contrast Enterprise On-Premises on your computer.
OK [o, Enter], Cancel [c]
o
A previous installation has been detected. Do you wish to update that installation?
Yes, update the existing installation [1, Enter]
No, install into a different directory [2]
1
Danke,
Arpit
Ich habe ein Shell-Skript von einem Anbieter, das bei der Ausführung auf einem Linux-Server eine zweimalige Eingabeaufforderung erfordert. Kann mir jemand helfen, wie wir die Eingabeaufforderung zu Automatisierungszwecken zweimal in einem einzigen Befehl bereitstellen können?
Hier sind o und 1 die Eingabeaufforderungen.
[code]sh Contrast-3.11.6.sh
Unpacking JRE ...
Starting Installer ...
Acquire Linux root privilege
Root privileges could not be acquired. The Contrast server will not be
installed as a Linux service that starts automatically on system boot and
database backups will need to be manually setup.
This will install Contrast Enterprise On-Premises on your computer.
OK [o, Enter], Cancel [c]
o
A previous installation has been detected. Do you wish to update that installation?
Yes, update the existing installation [1, Enter]
No, install into a different directory [2]
1
[/code]
Danke,
Arpit