09-07-2012
Could anyone please help me in sorting this issue or provide me the alternative script?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I want to merge two or more files using perl in windows only(Just like Paste command in Unix script) . How can i do this.Is ther any single command to do this?
Thanks
Kunal (1 Reply)
Discussion started by: kunal_dixit
1 Replies
2. Shell Programming and Scripting
How to change a directory on windows via perl script.
I wanna mount a share on windows via perl script.
I have used:-
system("dir");
gives the list of directories in the drive i am.This command works well.
Now i want to move from c drive to z drive via perl script.I am using:-
... (2 Replies)
Discussion started by: TRUPTI
2 Replies
3. Shell Programming and Scripting
Hi All,
Im having a file named logserver.txt. I want a perl script to take a backup of that file, along with the datestamp; move the file to a different location or empty the contents of the file after backup.
Remember, the file gets generated when the related service starts. My condition is... (14 Replies)
Discussion started by: ntgobinath
14 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Need help configuring Active Perl on Windows Vista.
I am trying to install Active Perl on Windows Vista.
The version of Active Perl i am trying to install is : ActivePerl 5.10.1 Build 1006
After installing it through cmd, When i try to run perl -v to check the version, i get the... (2 Replies)
Discussion started by: Vabiosis
2 Replies
5. Windows & DOS: Issues & Discussions
Here is the snippet of the code that I'm trying to execute.
Stat of the service does not launch perl script. OnStop works fine. Please could you help here.
Public Class Service1
Protected Overrides Sub OnStart(ByVal args() As String)
' Add code here to start your service. This... (0 Replies)
Discussion started by: hansini
0 Replies
6. Shell Programming and Scripting
This script is giving weird output
#!/bin/bash
NETPATH=(`/bin/traceroute -n 4.2.2.2 | awk '{print $2}'`)
for i in "${NETPATH}"
do
echo $i
done
The output:
to
11.11.11.1
1.1.1.1
99.111.208.2
traceroute_test.sh
traceroute_test.sh (7 Replies)
Discussion started by: thumbs
7 Replies
7. Shell Programming and Scripting
Hi i wanted to know if any one can give me an example on how to launch a windows program in a perl script. I wanted to open the nmap software on my computer with a perl script, i heard this can be done with the system function. Would the function be in this format:
$text =... (1 Reply)
Discussion started by: kingbp
1 Replies
8. Programming
I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning.
The script is called cwrmail.pl and is located in my cgi-bin.
When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies
9. IP Networking
I am writing a perl code(windows) to traceroute IP address and to print the output.
Could anyone please supply the code.
I had executed the below code which was taken from cpan modules
#!C:/perl/bin/perl.exe
use Net::Traceroute;
$tr = Net::Traceroute->new(host=> "google.com");... (1 Reply)
Discussion started by: giridhar276
1 Replies
10. Shell Programming and Scripting
Hi all,
I am developing a log parsing agent in perl to send windows Event logs to Zenoss Monitoring tool. Using Win32::EventLog i can able to get the Event messages but only one Eventype eg Application or System could able to parse at a time. Can you please help to how to open mutiple eventlogs... (3 Replies)
Discussion started by: kar_333
3 Replies
LEARN ABOUT DEBIAN
inetutils-traceroute
TRACEROUTE(1) User Commands TRACEROUTE(1)
NAME
traceroute - Trace the route to a host
SYNOPSIS
traceroute [OPTION...] HOST
DESCRIPTION
Print the route packets trace to network host.
-M, --type=METHOD
use METHOD (`icmp' or `udp') for traceroute operations
-p, --port=PORT
use destination PORT port (default: 33434)
-q, --tries=NUM
send NUM probe packets per hop (default: 3)
--resolve-hostnames
resolve hostnames
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
AUTHOR
Written by Elian Gidoni.
REPORTING BUGS
Report bugs to <bug-inetutils@gnu.org>.
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for traceroute is maintained as a Texinfo manual. If the info and traceroute programs are properly installed at
your site, the command
info traceroute
should give you access to the complete manual.
GNU inetutils 1.9 December 2011 TRACEROUTE(1)