9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have executed the below perl script for copying the file from one server to another server using scp.
#!/usr/bin/perl -w
use Net::SCP::Expect;
use strict;
$server= "x.x.x.x";
my $source = "/mypath/mypath";
my $destination = "/home/";
print "Login...Starting scp...";
$user="admin";... (1 Reply)
Discussion started by: scriptscript
1 Replies
2. UNIX and Linux Applications
I have a database that should ultimately be included in a reporting engine. This will be a point-and-click setup whereby the user selects columns to include in the report and the users can run and save the report-script themselves. Users will have affinity with the data, but we want to design the... (2 Replies)
Discussion started by: figaro
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies
4. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
5. Shell Programming and Scripting
Hi
we are having more than 10k file source code clutterred across different directories.
1. we want to find duplicate file name
2. all java files and having having below content in various folder under /home/raxit/src
---------
/*comment etc for few line
*/
package hello.a.b.c;
... (0 Replies)
Discussion started by: raxitsheth
0 Replies
6. Shell Programming and Scripting
Hi,
i am new to perl and i used to manullay gathering statistics since our database servers are 8i,
could any body help to get the perl script or any link to automate this work.
Thanks
Prakash (1 Reply)
Discussion started by: prakash.gr
1 Replies
7. Shell Programming and Scripting
can someone tell me how below package command worked?
I understand how global1.pl works.. but i don't see how global3.pl is working..
Is package Fred command having first output look into $main:name???
# cat global3.pl
#!/usr/bin/perl -w
#use strict;
$main::name = "Your name Here";... (1 Reply)
Discussion started by: hankooknara
1 Replies
8. Shell Programming and Scripting
I am still learning perl and confused on this script I am revising at work. The original author uses a package, which I have left in the code; however, I cannot seem to access the global variable $dir.
Code snippet:
I have also tried using $RRD_MG::dir to no avail.
Thank you. (6 Replies)
Discussion started by: effigy
6 Replies
9. Shell Programming and Scripting
Hi there,
say the package is in the ~/ and it's ~/packageFoo.pm
I can use usePackage.pl in ~/ (~/usePackage.pl).
Now, if I move it to ~/subDIR/usePackage.pl, the script won't work because it's not in the same DIR with packageFoo.pm
How can i fix it?
Thanks
Gusla (1 Reply)
Discussion started by: gusla
1 Replies