How we can pass the argument when calling shell script from perl script
Can someone let me know how could I achieve this
In one of per script I am calling the shell script but I need to so one thing that is one shell script call I need to pass pne argument.In below code I am calling my ftp script but here I want to pass one argument so how could I do this (e.g: system ("sh","ftp") $tarball;
Hi all,
Not sure if this is the right forum to post query regarding perl script.
I have a perl script which internally calls a shell script. My problem is that the shell script should be passed command line arguments.
I call a shell script from perl using:
system("sript.sh");
How do... (3 Replies)
Hi,
I have one shel script which returns some value and I am calling this shell script from a perl script which needs the out put/return value of shell script.
But I don't know how to collect the output/return value of the shell script. Can any one give some idea on it?
For example:
The... (1 Reply)
Hi,
ive a perl script, where it has a subroutine clear() in it, and i've one shell script which runs in background, from that shell script i wanted to call subroutine which is in perl script, that's perl script is not module, just simple script.
Eg:
perl script <test>
#!... (4 Replies)
Hi,
I am working on a sever A.
I want to write a perl script to execute a shell script persent on the server B.
please help me in this.
thanks in advance. (3 Replies)
This is my script structure
main script calls configure script which needs to be run as a different user and the configure script calls my application installation script. the application instruction script prompts the user for a directory which I need to pass from my main or configure script.
... (4 Replies)
I need to write a shell script, when I run that script I should pass those arguments if not, then script should not run and pass the error message like
invalid option - - should pass the argument.
and Exit from the script
https://www.unix.com/images/misc/progress.gif (1 Reply)
I need to write a shell script, when I run that script I should pass those arguments if not, then script should not run and pass the error message like
invalid option - - should pass the argument.
and Exit from the script (8 Replies)
Hi all,
$ echo $SHELL
/bin/bash
Requirement - How to pass oracle sql script as argument to unix shell script?
$ ./output.sh users.sql
Below are the shell scripts and the oracle sql file in the same folder.
Shell Script
$ cat output.sh
#!/bin/bash
.... (7 Replies)
Discussion started by: a1_win
7 Replies
LEARN ABOUT DEBIAN
vfslib
vfslib(3tcl) Tcl-only Virtual File Systems vfslib(3tcl)NAME
::vfslib - Procedures to interact with virtual filesystems
SYNOPSIS
package require Tcl 8.4
package require vfs ?1.2.1?
package require vfs::zip ?1.0?
package require vfs::mk4 ?1.6?
package require vfs::tar ?0.9?
package require vfs::ftp ?1.0?
package require vfs::ns ?1.0?
package require vfs::webdav ?0.1?
package require vfs::http ?0.5?
package require vfs::urltype ?1.0?
vfs::zip::Mount path to
vfs::ftp::Mount path to
vfs::tar::Mount path to
vfs::http::Mount path to
vfs::mk4::Mount path to
vfs::ns::Mount path to
vfs::urltype::Mount type
DESCRIPTION
The ::vfs package includes a library of Tcl code, implementing a number of different virtual filesystems. Each of these exists as its own
package, and can be accessed through package require vfs::NAME. The whole set of virtual filesystems is known informally as 'vfslib'
SUPPORTED VFS TYPES
The current supported types are ftp, tar, http, zip, mk4, ns, webdav. In addition there is the ability to mount any 'urltype' as a new
volume, provided an appropriate vfs is supported. This means that you can treat 'ftp://', 'http://' and 'file://' urls as files. To do
this, simply evaluate the command
vfs::urltype::Mount ftp
for instance. Any access inside the new volume will result in an attempt to require a package through 'package require vfs::${type}',
which must therefore exist, or errors will be thrown.
LIMITATIONS
Most of the vfs types listed above have not been very well debugged as yet. Please test them!
KEYWORDS
vfs, vfslib, filesystem, zip, tar, webdav, namespace, ftp, http, file
Vfslib 1.0 vfslib(3tcl)