Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-08-2009, 01:22 AM   #1
LQ Newbie
Registered: May 2009
Posts: 14

Rep: Reputation: 0
Web query to execute commands and output it to a web page !

hi fellas
I wanted to know if i can execute commands on linux console through a web page and redirect it back to my web page !

For example :
if i send a query "ls"
it should execute this command on my linux console and also redirect the list of the files to the web page from which i give the command !

please help me out ..

Old 05-08-2009, 03:45 AM   #2
LQ Newbie
Registered: Apr 2009
Location: Poland
Distribution: Slackware 12.1
Posts: 20

Rep: Reputation: 0
Use PHP. Then you will be able to send system commands and/or use Filesystem functions.


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
Can ping web page from telnet, but can't open it in web browser a.ilic Linux - Networking 1 04-01-2008 11:29 AM
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 11:30 PM
How do I display real shell script output to web page. farmerjoe Programming 1 04-07-2005 02:03 PM
Execute bash commands from web page solomage Linux - Software 1 10-07-2004 11:54 AM
execute command from web page FNC Programming 5 03-06-2003 07:17 PM

All times are GMT -5. The time now is 05:58 PM.

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