hi
I want to call a shell script in C program
the script is : ssh -t user@remote sh /<remote>home/user/<file_name>.sh
and other several commands
C program : Call this script and the retrive the task that is been done in <file_name>.sh file
can any one tell me how... (5 Replies)
Hi Perl/UNIX experts,
I have a problem in running a shell script from my perl script (auto.pl).
I run the perl script using
perl auto.pl
from the shell prompt
The shell script picks the files in "input" folder and procesess it.
The shell script blue.sh has this code.
export... (16 Replies)
# dbc "delete from alert;"
DELETE 10
#
However, the script created below generates an error that command does not exits. Can any one please exist.
script.sh:
#!/bin/sh
dbc "delete from alert;" >>$TASKLOGFILE
./script.sh: line 38: dbc: command not found
can any one please... (2 Replies)
hello 2 all
I can't understand how to insert a perl-script into .shml in a right way. <form> should be working but it's not
doing that: <!--#include virtual="/cgi-bin/script.cgi?filename"-->
filename is a name of the file which script is using
the script is used for a score show (the number... (0 Replies)
hello 2 all
I can't understand how to insert a perl-script into .shml in a right way. <form> should be working but it's not
doing that: <!--#include virtual="/cgi-bin/script.cgi?filename"-->
filename is a name of the file which script is using
the script is used for a score show (the number... (3 Replies)
i want use ssh on the host01 to execute autoexec.sh on the host02 like following :
host01> ssh host02 autoexec.sh
autoexec.sh include nohup command like follwing :
nohup /home/jack/deletedata.sh &
after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
Hi,
We need to access Oracle DB with shell/perl script in Unix.
Is Oracle client needed in Unix for this.
I have seen threads which tell abt using SQL plus to access Oracle tables.
Can we access DB without SQL PLus installation using scripts in UNix like we access DB using jar files in Java .... (1 Reply)
Hi there
Well, it's my first time on this board, so short to myself:
I'm matibaski, working as a webdeveloper and also as a system administrator on ubuntu server machines.
The problem:
I created a small apache-hostingscript by myself and it works fine.
But after some addings and new... (1 Reply)
Hi Friends,
I have a menu based tool which requires input/option to proceed further. How to make a shell script ?
eg: menu looks like
Get_data.sh
to continue (y/n) :
Here I need to key in "y" to proceed.
I want to prepare a script which should consider option y. (5 Replies)
Discussion started by: suresh3566
5 Replies
LEARN ABOUT MOJAVE
app::prove::state::result::test
App::Prove::State::Result::Test(3pm) Perl Programmers Reference Guide App::Prove::State::Result::Test(3pm)NAME
App::Prove::State::Result::Test - Individual test results.
VERSION
Version 3.26
DESCRIPTION
The "prove" command supports a "--state" option that instructs it to store persistent state across runs. This module encapsulates the
results for a single test.
SYNOPSIS
# Re-run failed tests
$ prove --state=fail,save -rbv
METHODS
Class Methods
"new"
Instance Methods
"name"
The name of the test. Usually a filename.
"elapsed"
The total elapsed times the test took to run, in seconds from the epoch..
"generation"
The number for the "generation" of the test run. The first generation is 1 (one) and subsequent generations are 2, 3, etc.
"last_pass_time"
The last time the test program passed, in seconds from the epoch.
Returns "undef" if the program has never passed.
"last_fail_time"
The last time the test suite failed, in seconds from the epoch.
Returns "undef" if the program has never failed.
"mtime"
Returns the mtime of the test, in seconds from the epoch.
"raw"
Returns a hashref of raw test data, suitable for serialization by YAML.
"result"
Currently, whether or not the test suite passed with no 'problems' (such as TODO passed).
"run_time"
The total time it took for the test to run, in seconds. If "Time::HiRes" is available, it will have finer granularity.
"num_todo"
The number of tests with TODO directives.
"sequence"
The order in which this test was run for the given test suite result.
"total_passes"
The number of times the test has passed.
"total_failures"
The number of times the test has failed.
"parser"
The underlying parser object. This is useful if you need the full information for the test program.
perl v5.18.2 2014-01-06 App::Prove::State::Result::Test(3pm)