Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cden2
  • Content: Threads
  • Order by date
  1. cden2

    Need help replacing a work in a file with a variable plus a word.

    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...

Part and Inventory Search

Back
Top