Search Results

Search: Posts Made By: mercuryshipzz
Forum: Cybersecurity 02-13-2008
3,250
Posted By mercuryshipzz
ohhh k... i got it .... thanks.
ohhh k... i got it ....

thanks.
Forum: Cybersecurity 02-13-2008
3,250
Posted By mercuryshipzz
Thanks a lot Lakris... #!/bin/sh scp...
Thanks a lot Lakris...


#!/bin/sh
scp script.pl user@remote:remote path
result=$(ssh user@remote script.pl)
echo $result
ssh user@remote rm script.pl


i jus swapped the last 2 lines of ur...
Forum: Cybersecurity 02-13-2008
3,250
Posted By mercuryshipzz
comands inside the script
hi,

i want to put a set of commands inside a script and executing commands sequentially. there are 2 commands, the first command copies the program from my machine to another machine, execute it...
1,711
Posted By mercuryshipzz
Search Pattern And Arrays
#!/usr/bin/perl

#use strict;
use warnings;

sub search_pattern
{

my $file_name = $_[0];

my $search = $_[1];

open(LOGFILE, $_[0]) or die("Error:...
17,067
Posted By mercuryshipzz
hi, thanx for ur great work.... how do...
hi,

thanx for ur great work....

how do i delete the whitespaces in the output...
First Occurance: 100
the space between ":" and "100"

i tried to use this awk command to delete the...
17,067
Posted By mercuryshipzz
thanks guys.... :b:
thanks guys.... :b:
17,067
Posted By mercuryshipzz
first occurence and line number
Hi,

My objective is to get the line number of the first occurance of the search pattern.


my test.txt contains:

..... ..................
total rows....
................... ..
total...
3,325
Posted By mercuryshipzz
this is the code i wrote before... but this...
this is the code i wrote before...

but this is an hard coded one...
Instead of hard coding i wanna the function to fetch that for each record of the id field and store it.


#!/usr/bin/perl...
3,325
Posted By mercuryshipzz
perl functions and arrays
Hi,

First I will tell my objective of this function (function one).

I have a table for ex:

id passwd name
-- ------ -----

1 fdhgfs werwer
2 fsdfs sdfsdf
3 sdfs sdfsdf
4 fdsfs dssdf
....
2,737
Posted By mercuryshipzz
Perl Database access
Hi,

I tried to run this code but it isnt giving me any output or errors.

My aim is to retrieve the row based on the flag name(this is the primary key).

flag_test is my table

This is how i...
3,824
Posted By mercuryshipzz
thanks ghostdog...
thanks ghostdog...
3,824
Posted By mercuryshipzz
thanks shamrock, but i want tat to be in...
thanks shamrock,

but i want tat to be in perl....

inside the program....

while executing i want in the format:

perl programname.pl total number of pancakes filename.txt
3,824
Posted By mercuryshipzz
pattern matching
Hi,
I am newbee to perl.

I wanna search a file and fetch a pattern starting with
"Total pancakes produced:" and get the numeric value present after the colon.

but, the filename and the...
6,561
Posted By mercuryshipzz
what if the number is at the end of the line .......
what if the number is at the end of the line ....
for eg:

After Executing service For Request: 10

and this phrase is in a file

thnks,

mercury
1,482
Posted By mercuryshipzz
balancing and monitoring
hi all,

I want to know some details about "automated balancing and auditing controlling mechanism". Balancing and monitoring the data, like looking into the log files and number of successful rows...
3,229
Posted By mercuryshipzz
remote server access
hi everybody,

im kinda a new to scripting....

i have attached an image in this post...

my goal is to extract data from the remote servers (server1,2,3 as in figure)
to the server residing...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 09:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy