I am trying to compile some sources using a makefile. In the makefile there is a bunch of commands that need to be ran as sudo.
sudo
When I compile the sour
Using pipeline:
echo your_pswd | sudo -S your_cmd
Using here-document:
sudo -S cmd <
Open a terminal to ask password (whichever works):
gnome-terminal -e "sudo cmd"
xterm -e "sudo cmd"