LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2009, 05:14 AM   #1
adam405
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: Disabled
Reading an executable file


Hello,

I have recently just installed centos for my final year uni project. I want to know if its possible to execute a executable file from the internet?


This is why i want to do that.

For a project i am reading some xml data of monitoring results from a server. If there is a problem with the results a sms message is generated and sent to the user. The user can then respond with a command, like restart, which will innate a linux command to run, for example:

shutdown -r now

Any ideas how i could do this across the web?
 
Old 02-02-2009, 05:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
so you don't actually want to "read" - i.e understand the compiled code - executables at all??

You can't just say you are using xml. that's not going to get you anywhere. Virtually all common web programming languages - php, java, cgi, asp, jsp can do this, no problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto convert bin file to a executable DOS file lilzz Linux - Newbie 5 08-04-2006 01:03 AM
Macos X like executable file rcainc Linux - Software 4 08-03-2005 06:01 AM
executable file won't open marie-p Linux - General 6 01-21-2005 07:13 PM
Linux Executable File Help (created from a .c file) MattG1981 Linux - Newbie 7 06-06-2004 05:54 PM
why/what's the difference between a file and an executable? sunowww General 6 06-05-2004 05:20 PM


All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration