Find the answer to your Linux question:
Results 1 to 3 of 3
I inherited a utility on a Linux server and now need to modify it. My Linux\Unix scripting skills and general experience in Linux\Unix is very limited. The existing script runs ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    4

    Linux script to pop up a window on a Windows Machine

    I inherited a utility on a Linux server and now need to modify it. My Linux\Unix scripting skills and general experience in Linux\Unix is very limited. The existing script runs automatically every hour. Occasionally an event will happen when the script runs and I want the script to pop up a mesage on a manned windows machine alerting them to it. I already know how to check if the event happened, but I need to figure out how to use that to fire the pop up window.

    I can use the following command from Linux to do it manually:

    smbclient -M PCNAME -U LINUXSERVER <cr>

    "Error Message" <cr>

    control D

    How do I add this to the script, or is there a better way?

    Thank you in advance for your help, I appreciate any that is offered.

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    Code:
    smbclient -M PCNAME -U LINUXSERVER <<EOD
    "Error Message"
    EOD

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    4
    Thank you, that worked perfectly!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...