I'm semi unix knowledgeable and I want to be able to call down an rpm from my server, run it with something like rpm -i , and have access to the script anywhere.
The script is a combination awk and php that does some processing. It doesn't require any special version of either or any special libraries. I think the php could even use 4. Awk is old as time. The order and usage statement is stored in a wrapping .sh .
How do i 1. turn it into an rpm that 2. puts it in /usr/bin (or a runnable folder) though i would prefer it's own subfolder since it's two files.
I will be mostly targetting centos but perhaps other shells. I don't think it matters.