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 strongm 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: *

  1. p62483t

    Need help with sintax

    Thanks! It does
  2. p62483t

    Need help with sintax

    is my if statement sintax OK?
  3. p62483t

    Need help with sintax

    Thank you!@ you write i want to assign sky1 to variable1 if servername = abcd1 or abcd2 only. If it is any other server i want to assign sky2 to variable1
  4. p62483t

    Need help with sintax

    it is only 2 how is the case statement?
  5. p62483t

    Need help with sintax

    Hi, I am new at this and I would like to get this type of sintax on my Korn script SERVERNE = `uname -n` this is good this workrs Then I like to do an if statement to compare the servrname to a name and depending on the I would like to give a value to a variable if it is not that server...
  6. p62483t

    how to get servername?

    Thank you very much it worked....!
  7. p62483t

    how to get servername?

    Can you tell me how can i asign the returned value to a variable? something like this but i don't know the exact sintax servername = "uname -n" maybe? servername = "$(uname -n)" maybe? then i want to display the servername echo "servername" = servername maybe like this ? sorry i don't...
  8. p62483t

    how to get servername?

    I got it thanks you for your help!!!!
  9. p62483t

    how to get servername?

    I am very new at this can u give me an example? I want to get the name and put it as part of a path
  10. p62483t

    how to get servername?

    Does any one knows how I can get the servername that my script is runnin on?
  11. p62483t

    Korn Shell script to scp critical files from multiple servers

    does anyone knows how to get the server name that my script is running on?

Part and Inventory Search

Back
Top