Answer the question
In order to leave comments, you need to log in
How to get string from console in bash?
Hello!
I'm trying to figure it out with bash. It is necessary to start the installation of the program from the script and at the end of the installation, the key is displayed in the console, which must be written to a file. For example:
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
ss://JGDHJGАА
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question