I am using this command
sudo apt-get update && wget && mv deb-cli minergate-cli-release.deb && sudo apt-get install -y gdebi && sudo gdebi minergate-cli-release.deb && screen minergate-cli -user --xmrSo first I need force yes; when prompted with "do you want to install software package?" y/n
I need to auto select y
Secondly I need to run this whole command in the background. It takes a long time to install.
12 Answers
append a "&" to your command ;)
2By providing
-yoption withapt-getyou can skip the confirmations while installing.You can use the
screencommand to get in to a screen console in which you can perform long time installations so that you can detach and attach the screen as per you want.Type
apt-get install screenin a terminal to install screen.
Once installed type screen in the terminal to get in to screen.
You can perform the commands in the screen.
Use key combinations CTRL + A + D to detach the screen and CTRL +RX to re-attach the screen if you have only one screen running(In this case only one screen is running)