12-15-2011
Run few perl script in CMD using script
Hi,
I have few PERL script which I have to run in CMD.
I want to create a new script which will take care of running all these scripts in CMD.
can any one suggest which script will be appropriate to solve my problem.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a question regarding running perl in the current process.
I shall demonstrate with an example.
Look at this.
sh-2.05b$ pwd
/tmp
sh-2.05b$ cat test.sh
#! /bin/sh
cd /etc
sh-2.05b$ ./test.sh
sh-2.05b$ pwd
/tmp
sh-2.05b$ . ./test.sh
sh-2.05b$ pwd
/etc
sh-2.05b$
So... (10 Replies)
Discussion started by: vino
10 Replies
2. Shell Programming and Scripting
i want the shell script to open the terminal and in that terminal i want to run a command specified in the script...
how can it be done... (2 Replies)
Discussion started by: chandrabhushan
2 Replies
3. 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
2 Replies
4. Shell Programming and Scripting
Hi All,
I think the processing of this is much more complex, so I will explain the whole process by codes.
First,I wrote a expect script named bsim.exp as follows:
#! /usr/local/bin/expect
set command
set name
eval spawn $command
switch -exact $command {
"bash expecttest.sh" {
... (2 Replies)
Discussion started by: Damon sine
2 Replies
5. Shell Programming and Scripting
Hi,
I am using SunOS
I want to serch my previous command
from unix prompt
(like on AIX we can search by ESC -k)
how to get in SunOs
urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies
6. Shell Programming and Scripting
Hi everybody;
I try to code a script perl to list all services that are active "ON" with a chkconfig -- list
the problem is that code list all services which are active or not.
#!/usr/bin/perl
use strict;
use warnings;
open(FILE,"-|") || exec "chkconfig --list |grep ON";... (2 Replies)
Discussion started by: bassma
2 Replies
7. Shell Programming and Scripting
Hello Guys
I have to run a perl script from unix one
The reason for this is I have to connect to remote server and then execute the perl script.
In unix script I am able to connect to remote server without any password via ssh
ssh -o 'PasswordAuthentication yes' -o... (5 Replies)
Discussion started by: Pratik4891
5 Replies
8. 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
2 Replies
9. UNIX for Dummies Questions & Answers
How to find how many parameters are required to run a Perl script? (1 Reply)
Discussion started by: Lakshman_Gupta
1 Replies
10. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
LEARN ABOUT DEBIAN
vzeventd
vzeventd(8) Containers vzeventd(8)
NAME
vzeventd - the OpenVZ events daemon.
SYNOPSIS
vzeventd [-v] [-d]
vzeventd -h
DESCRIPTION
This daemon takes care of events sent by the OpenVZ kernel (via a netlink socket) and performs required actions associated with those
events, by running specific scripts. Every event received contains a container ID, which is passed to the script as VEID environment vari-
able.
Current list of known events and associated vzeventd actions are:
start Ignore.
stop Run /usr/lib/vzctl/scripts/vzevent-stop. This script takes care of removing ARP and routing records for the given CT from CT0.
mount Ignore.
umount Ignore.
reboot Run /usr/lib/vzctl/scripts/vzevent-reboot. This script takes care of rebooting a given CT.
OPTIONS
-v Increase verbosity (can be used multiple times).
-d Debug mode (do not daemonize, run in foreground).
-h Display help and exit.
EXIT STATUS
Returns 0 upon success.
LICENSE
Copyright (C) 2010-2011, Parallels, Inc. Licensed under GNU GPL.
AUTHOR
This manual page was initially written by Thorsten Schifferdecker <tsd@debian.systs.org> for the Debian GNU/Linux system (but may be used
by others).
OpenVZ 28 Jun 2011 vzeventd(8)