![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script command | udi | Shell Programming and Scripting | 2 | 09-19-2008 05:15 PM |
| cd command in a script | Rajat | UNIX for Dummies Questions & Answers | 1 | 07-10-2008 02:06 PM |
| Q: Recording shell script screen output using "script" command ? | lalfonso.gomez | Shell Programming and Scripting | 4 | 01-18-2007 09:31 PM |
| reg script command.... | deep | UNIX for Dummies Questions & Answers | 7 | 03-30-2005 12:22 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
script command help
Hi,
Hope you guys can help me here. I made a shell script that will automatically telnet to our switches, execute some commands and then logout. All of the activities are recorded with the use of script and it is saved on another file. Everything is working fine when i run the shell script. My problem is when i try to run it on a web based application (e.g. php) it prompts me to open the file or doesn't run at all using another browser. here is how the php file looks like: <? $test = system ("script -c ./test.sh"); ?> Hoping to hear from you guys, thanks in advance |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|