04-09-2014
Use a full path to the another_script.sh, inside the remote_script.
This User Gave Thanks to blackrageous For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I am trying to execute the below shell script: script name(ss1).
ss1 was given permission - 744 before executing.
name: ss1
#ss1
#usage:ss1
ls
who
pwd
:wq
I tried to execute $ss1 (Enter)
Its not executing.... It says that ss1 is not found:
echo $SHELL. The o/put i got is... (5 Replies)
Discussion started by: dreams5617
5 Replies
2. Shell Programming and Scripting
Hi All,
I have a script to be executed in another machine. I connect to that machine from another server as a root ( this is the only configured access, as i cannot log in as a normal user). After that I have to switch to a normal user and that I can be able to executge that script. But all this... (12 Replies)
Discussion started by: elthox
12 Replies
3. Shell Programming and Scripting
ssh user@machine awk '{ split ($1,ar,"!");print ar}' samp >samp1
Error:
Unmatched '.
However on <machine> awk '{ split ($1,ar,"!");print ar}' samp >samp1
executes successfully.
Any suggestions. (1 Reply)
Discussion started by: bishweshwar
1 Replies
4. HP-UX
1)MY HP-UX11iv2 machine is on a specific subnet as in rrr.rr.199.( its a rp3410 blade server).It has 2 hard disks one of them has HP-UX11iv2 and the other hard disk is not being used
2)ip of the hp-ux machine is rrr.rr.199.rrr
3)i need to access this hp-ux machine remotely from a windows machine... (3 Replies)
Discussion started by: rookie8278
3 Replies
5. Shell Programming and Scripting
Hi,
in the below command, i export a value to a variable which later is used by the script, however i dont see the exported value is actually been exported.
ssh user@host "export var=/path/ ; cd /path/ ; ./script"
how can i use the above command with proper value of var remotley (7 Replies)
Discussion started by: suraj.sheikh
7 Replies
6. Homework & Coursework Questions
Hi, I'm a complete novice to Linux and UNIX. I'm having trouble getting a script to execute properly. I did a similar script earlier in the semester with no problems. For whatever reason I can't get this one to work. Any help would be greatly appreciated as I'm completely lost and frustrated at... (5 Replies)
Discussion started by: Lindy70
5 Replies
7. Solaris
how to execute shell script present in unix machine remotely from windows?
I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros.
Thanks In Advance.
--Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies
8. Shell Programming and Scripting
Platform : Solaris 10, RHEL 5.4, OEL 6
I've noticed that some of my colleagues execute scripts by typing sh before the script name
sh myscript.shI always execute a script by typing the script name and typing enter provided PATH variable has . (current directory) in it
myscript.sh (and... (1 Reply)
Discussion started by: John K
1 Replies
9. Shell Programming and Scripting
Hi,
I am looking for a way to copy the directory on a remote machine that's present on the same remote machine.
ex. I have multiple directories on a remote machine "B" created as
/abc/LOG_1004
/abc/LOG_1008
/abc/LOG_1012
The script should be able to create a copy of the latest dirs... (1 Reply)
Discussion started by: deo_kaustubh
1 Replies
10. UNIX for Beginners Questions & Answers
I am new to Unix shell and to this forum.
I am having some trouble executing an interactive shell script that I have written using Mac TextEdit that takes a user input via terminal of a file type (jpg or gif) and then activates a script that will iterate through a folder of unsorted file types... (4 Replies)
Discussion started by: Braveheart
4 Replies
LEARN ABOUT DEBIAN
gnome2::canvas::pathdef
Gnome2::Canvas::PathDef(3pm) User Contributed Perl Documentation Gnome2::Canvas::PathDef(3pm)
NAME
Gnome2::Canvas::PathDef - Container and functions for manipulating ArtBpaths
HIERARCHY
Glib::Boxed
+----Gnome2::Canvas::PathDef
METHODS
pathdef = Gnome2::Canvas::PathDef->new
pathdef = Gnome2::Canvas::PathDef->new_sized ($length)
o $length (integer)
boolean = $path->all_closed
boolean = $path->all_open
boolean = $path->any_closed
boolean = $path->any_open
pathdef = $path->close_all
pathdef = $path->closed_parts
$path->closepath
$path->closepath_current
pathdef = Gnome2::Canvas::PathDef->concat (...)
o ... (list) Gnome2::Canvas::PathDef objects to concatenate
$dst->copy ($src)
o $src (Gnome2::Canvas::PathDef)
Copy the path from $src into $dst.
Note: this method has very different semantics than the copy provided by Glib::Boxed. "duplicate" is the analog there.
$path->curveto ($x0, $y0, $x1, $y1, $x2, $y2)
o $x0 (double)
o $y0 (double)
o $x1 (double)
o $y1 (double)
o $x2 (double)
o $y2 (double)
pathdef = $path->duplicate
$path->ensure_space ($space)
o $space (integer)
$path->finish
boolean = $path->has_currentpoint
boolean = $path->is_empty
integer = $path->length
$path->lineto ($x, $y)
o $x (double)
o $y (double)
$path->lineto_moving ($x, $y)
o $x (double)
o $y (double)
$path->moveto ($x, $y)
o $x (double)
o $y (double)
pathdef = $path->open_parts
$path->reset
@pathdefs = $path->split
SEE ALSO
Gnome2::Canvas, Glib::Boxed
COPYRIGHT
Copyright (C) 2003-2004 by the Gtk2-Perl Team.
This software is licensed under the LGPL; see Gnome2::Canvas for a full notice.
perl v5.14.2 2011-11-16 Gnome2::Canvas::PathDef(3pm)