Search code examples
linuxwgetbinaryfilessolaris-10

Is there a single command to download binary files from an HTTP server to linux/solaris and install the binary subsequently?


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?


Solution

  • put both commands into a single script that gets executed by root