6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
#!/usr/local/bin/perl -w
use Net::SFTP;
use File::Copy;
my $user=(getpwuid($<));
my $server = "servername";
print "user - $user server - $server \n";
my %args = ( user => "$user", ssh_args => {port=> 'portnum'} );
$args{debug} = 1;
$args{user} = "user";
my $sftp=Net::SFTP->new($server,... (1 Reply)
Discussion started by: Yashaswini H L
1 Replies
2. UNIX for Dummies Questions & Answers
hi does anyone have any knowledge of pearl, unix systems commmands and what are the basic commands??????apppreciated for your help. (1 Reply)
Discussion started by: BIzzare12
1 Replies
3. Shell Programming and Scripting
Hi,
Is it possible to call a c function defined in a .c file from a pearl script?
How is this possible?
Thannks in advance,
JS (2 Replies)
Discussion started by: jisha
2 Replies
4. UNIX for Advanced & Expert Users
Hello,
I want to automate the process of importing a SSL certificate name *.cer to cacerts through perl script. both the certificates belong to same folder.
The usual way of doing it is by executing the below command which imports the key name certnew.cer to cacerts in the same folder.
... (4 Replies)
Discussion started by: m_kk
4 Replies
5. Shell Programming and Scripting
I have a program (say, MyProgram) written in Bourne-shell script, but at some point it calls another script written in pearl, as illustrated below:
#!/bin/sh
.....
case $x in
1) ConfigSystem1 ( b-shell script)
2) ConfigSystem2 ( pl)
3) ConfigSystem3 (b-shell)
....
Then I create... (0 Replies)
Discussion started by: bluemoon1
0 Replies
6. UNIX for Advanced & Expert Users
#!/usr/bin/perl
$basedir = "/home/MYUSERID/public_html/ordered_files";
$allowall = "yes";
$theext = ".gif";
use CGI;
$onnum = 1;
while ($onnum != 11) {
my $req = new CGI;
my $file = $req->param("FILE$onnum");
if ($file ne "") {
my $fileName = $file;
$fileName =~... (9 Replies)
Discussion started by: nikah_01
9 Replies