9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the following Perl script which is intended to run a Shell script and generate some logging for the purposes of tracking weather or not the script ran.
I get an error, of course, since I don't know what I'm doing really.
Here is the code:
... (14 Replies)
Discussion started by: zixzix01
2. Shell Programming and Scripting
pls suggest some other method to run shell script in php .:wall::mad: (0 Replies)
Discussion started by: upvan111
3. Shell Programming and Scripting
I want to execute my shell script on remote machine using SSH in perl script.
Please help me with syntax. (2 Replies)
Discussion started by: james1988
4. Shell Programming and Scripting
Is it possible to dry run a php script without actually executing it? Say I need to test the output of a php file to see if it matches a pattern. I need to run this on all php files on the server. But I fear if there are php files that make modifications, sends out mail etc, that should not happen.... (1 Reply)
Discussion started by: anilcliff
5. Shell Programming and Scripting
I have a local linux machine in which the files are dumped by a remote ubuntu server. If the process in remote server has any problem then empty files are created in local machine. Is there any way using perl script to check if the empty files are being created and delete them and then run a shell... (2 Replies)
Discussion started by: hussa1n
6. Shell Programming and Scripting
I have more than 1 files in the directory. In bash, I can use
for x in `ls`
to run for each file in the directory.
How about in perl script?
open(FILE, $filepath) or die "$filepath cannot be opened.";
: (1 Reply)
Discussion started by: natalie23
7. Shell Programming and Scripting
I have a sheel script that invokes a perl script...Now, instead havin the perl script as a separate file I'd like put the contents in the sheel script itself...But I am not sure how ro run that perl script contents.please help me
Thanks (1 Reply)
Discussion started by: vijay_0209
8. Shell Programming and Scripting
I have written a code for uploading a file onto the server.The code is as follows:
<? if ($_POST == "Upload File")
if( move_uploaded_file ($_FILES ,$target) )
$tmpsrc = $_FILES ;
echo... (2 Replies)
Discussion started by: michrods
9. Shell Programming and Scripting
I write a shell script for import data to oracle using sql loader.
I set permission 755 or 777 for that script. I can run that script in the consol okay.
When I call it from PHP using system command. I got return value 126 this value when don't have permission right ?
I check step... (2 Replies)
Discussion started by: raccsdl