I am a new to scripting. I am working with a script to replace the
word 'name' in a file with the name of the server. I am trying pass a
variable in a search and replace command using sed. It works now, but
only replaces the word 'name' with the '${SERVER}: name' and not the
actual hostname...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.