CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2003
    Location
    Germany
    Posts
    936

    Execute a shell script on a linux server

    Hi,

    at the moment I have written a method which put a file on a linux server. Is there any possibility to start a shell script on that server from a c# application?
    Useful or not? Rate my posting. Thanks.

  2. #2
    Join Date
    Aug 2005
    Location
    Seattle, Wa
    Posts
    179

    Re: Execute a shell script on a linux server

    If you are running some service on the Linux box that you can access.

    Such as:
    a webserver with a page/webservice you can query that runs the script
    telnet - might be painful

    Or you could write a little server app in c# (mono) that listens for a command you send to some port, and then runs the script.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured