Search Results

Search: Posts Made By: jacki
1,521
Posted By pravin27
Could this help you ? #!/usr/bin/perl ...
Could this help you ?

#!/usr/bin/perl

use strict;

my ($app,$cmd);
open(FH,"<","/tmp/mail") or die "Fail- $!\n";
open(FW,">","/tmp/mail_test") or die "Fail- $!\n";
while(<FH>) {
chomp;...
1,786
Posted By Shell_Life
See if this can help your output: sed...
See if this can help your output:
sed 's/"\(.*\)" ".*:..\(.*\):\(....\)\/.*/\1 \2 \3/'
3,390
Posted By Chubler_XL
sudo is probably the best idea, I think it's...
sudo is probably the best idea, I think it's available for Mac OSX
6,744
Posted By konsolebox
I don't really get what you're after but here's...
I don't really get what you're after but here's some hint for bash:
#!/bin/bash

CONFIGFILE=<path to file>
LOGFILE=<path to log file>

read URL < "$CONFIGFILE"

echo "Fetching $URL..."
wget...
2,168
Posted By ikki
perlre - perldoc.perl.org...
perlre - perldoc.perl.org (http://perldoc.perl.org/perlre.html)

Each ( ) pair creates a backreference that can later be accessed (until next regex) using $1, $2, $3 ... $n. So, the first...
2,168
Posted By durden_tyler
In addition to the explanation posted above, I'd...
In addition to the explanation posted above, I'd like to add that this -


$x{$1} = "\"$2$append\"";


was done so that the value of each hash key would be of the form


"http://someURL"...
2,168
Posted By durden_tyler
$ $ $ cat -n apps.pl 1 #!perl ...
$
$
$ cat -n apps.pl
1 #!perl
2 use strict;
3 use warnings;
4 my $append = "cgi-bin/jboss/apps.joa/health?method=checkurl";
5 my %x;
6 while (<DATA>) {
...
11,177
Posted By Scrutinizer
Don't forget to put selinux back to #...
Don't forget to put selinux back to
# setenforce Enforcing
afterwards, after you are done.
11,177
Posted By hergp
That wouldn't help, because port 8080 is also...
That wouldn't help, because port 8080 is also closed by default.

The easiest way is to start "System > Administration > Firewall", select "Trusted Services", scroll down to "WWW (HTTP)" and check...
11,177
Posted By hergp
You should also check the firewall. Port 80 is...
You should also check the firewall. Port 80 is not allowed by default.
Showing results 1 to 10 of 10

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