I want to automate a process of downloading a binary file from a server (HTTP) and then install it on either Solaris or Linux servers.
I use wget command followed by executing the binary file as root user.
Can we combine these two steps?
put both commands into a single script that gets executed by root