10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello unix.com users,
I reached a dead end with a procedure.
My files:
x.pl
#!/usr/bin/perl
use Net::FTP;
my $host = $ARGV;
my $user = $ARGV;
my $pass = $ARGV || "";
my $port = "21";
$ftp=Net::FTP->new("$host", Port=>"$port", Timeout => 5)
or die("couldn't connect to host:" .... (2 Replies)
Discussion started by: galford
2 Replies
2. Shell Programming and Scripting
Hi ,
help me out
Generally If the fork() is executed successfully Unix will create identical copies address spaces and the execution starts from the next statement of the fork()
So, in such case
output of the following prog must be
#include<stdio.h>
{
printf("\nwelcome to");
fork();... (3 Replies)
Discussion started by: vijay496
3 Replies
3. Shell Programming and Scripting
Hi,
I have an command which find the files modified within last 3 days and then after selecting the files from the location it make the tar format and send it to the specified destination ...now I want that this task to be automative ..that is it should happen after every 5 minutes ..plz guide me... (5 Replies)
Discussion started by: Neera
5 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am trying to invoke an service using URL. I want to know how to call that url with nohup.
nohup links "__http://Administrator:assword@ServName:8080/invoke/wm.server.admin/shutdown?bounce=no&option=force&timeout=0" &
I am trying to run this command on unix command prompt, But in... (8 Replies)
Discussion started by: swap27
8 Replies
5. Shell Programming and Scripting
Hi,
I am trying tio invoke unix variable in a sed command like below, but it seems to be failing..
a=1
sed -n '$a,$p' file.txt ### Failing
but
a=1
sed -n '1,$p' files.txt ### Works fine
Please help me to fix this... Thanks in advance (2 Replies)
Discussion started by: vjayraghavan
2 Replies
6. UNIX for Dummies Questions & Answers
How to invoke ESC+K to get recent commands in Korn Shell.
In some of the unix machine ESC+K is available and in some machines, it does not work. All of the machines that I work have Korn shell. (5 Replies)
Discussion started by: bobbygsk
5 Replies
7. UNIX for Advanced & Expert Users
Hi
I have written a code that will exhaust the memory completely by allocating it and not freeing it. The OOM killer as expected in invoked and it killed a few high memory using processes and their childs.
But after that, though the system is not getting hung, it is not printing any msgs in... (3 Replies)
Discussion started by: subratasaharia
3 Replies
8. Solaris
Hi,
What I would like to do "securely" is the following.
From one central server invoke a script that does the following.
--Store user/name passwords. (password possibly encrypted in config file)
--From the central server invoke a privileged command (i.e. route add) on multiple... (1 Reply)
Discussion started by: topstuff
1 Replies
9. Shell Programming and Scripting
Hi All ,
i am trying to switch user (from unix1 to unix 2 ) The user will give me the input and also the password . also how can i login into with the password . itried several attempts . no luck
Can any one help on this !!! (4 Replies)
Discussion started by: raghav1982
4 Replies
10. Shell Programming and Scripting
hey, can I invoke the same script twice simultaneously? I want both instances to run at the same time with different parameters. Thanks! (2 Replies)
Discussion started by: mpang_
2 Replies