05-11-2011
Thanks that def. did the trick.. One more question woud there be a way to combine the repeated Ip addresses.
example:
109.86.214.79 - [01/Nov/2010:15:54:36 -0400]
109.86.214.79 - [01/Nov/2010:15:54:45 -0400]
109.86.214.79 - [01/Nov/2010:16:17:15 -0400]
109.86.214.79 - [01/Nov/2010:20:09:37 -0400]
109.86.214.79 - [01/Nov/2010:20:09:41 -0400]
114.58.112.39 - [01/Nov/2010:08:06:08 -0400]
114.58.112.39 - [01/Nov/2010:08:06:09 -0400]
114.58.112.39 - [01/Nov/2010:08:06:10 -0400]
114.58.112.39 - [01/Nov/2010:08:06:10 -0400]
114.58.112.39 - [01/Nov/2010:08:06:10 -0400]
114.58.112.39 - [01/Nov/2010:08:06:10 -0400]
You see how they repeat the ip but the date/time is different is there a way to sort that so it only shows one Ip but multiple dates and time?
ex: 109.86.214.79
[01/Nov/2010:15:54:36 -0400]
[01/Nov/2010:15:54:45 -0400]
114.58.112.39
[01/Nov/2010:08:06:10 -0400]
[01/Nov/2010:08:06:10 -0400]
something like that example
7 More Discussions You Might Find Interesting
1. Programming
i was searching on the net have found a couple of sample programs and was wondering if some could tell me what they do cheers.
main()
{
printf("Executing ls\n");
execl("/bin/ls","ls","-l", (char *)0);
perror("execl failed to run ls");
exit(1);
}
main()
{
int i;
i =... (5 Replies)
Discussion started by: ruffenator
5 Replies
2. UNIX for Dummies Questions & Answers
Hello all I am new and I had a question that I was hoping you could answer.
I am using mutt on a directory in this directory will be pdf files named 001.pdf , 002.pdf and so on. I need a script that can read the filename and associate that with a user like so :
if 001.pdf exists then email... (16 Replies)
Discussion started by: linuxguy30350
16 Replies
3. HP-UX
Hi Everybody,
Iam new to the unix world but interested a lot to know about unix. i want to do a certification course in unix so can anybody please suggest me what course can i do for unix adminstration and what books do i have to refer to.
Thanks in Advance. (5 Replies)
Discussion started by: ajazshariff
5 Replies
4. Shell Programming and Scripting
Array Example:
$ colors=RED
$ colors=GREEN
$ colors=BLUE (4 Replies)
Discussion started by: ora_umair
4 Replies
5. UNIX for Dummies Questions & Answers
I try taip this script below...but i have got error.The error message is Input read error..Anybody can see whether my script have problem.Below this is my script:
#!/bin/sh
filename=test.txt
vi $filename <<EndOfCommands
i
This file was created automatically from
a shell script
^ (1 Reply)
Discussion started by: mastercar
1 Replies
6. Shell Programming and Scripting
Im trying to find a script that will pull ip addresses along with the date and time sort it by ip addresses and output it to a file...
As a newbie to scripting im kinda stumped here...and suggestions? (2 Replies)
Discussion started by: jspinal
2 Replies
7. Red Hat
hi ...
i want to monitor the httpd service whether its online or offline.. if httpd service goes offline/stopped then i need to get alert to my mail. how to do construct this script..
myself using RHEL4 ... (1 Reply)
Discussion started by: sriniv666
1 Replies
LEARN ABOUT DEBIAN
php-config5
php-config(1) Scripting Language php-config(1)
NAME
php-config - get information about PHP configuration and compile options
SYNOPSIS
php-config [options]
DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration.
OPTIONS
--prefix Directory prefix where PHP is installed, e.g. /usr/local
--includes List of -I options with all include files
--ldflags LD Flags which PHP was compiled with
--libs Extra libraries which PHP was compiled with
--man-dir The directory prefix where the manpages is installed
--extension-dir
Directory where extensions are searched by default
--include-dir Directory prefix where header files are installed by default
--php-binary Full path to php CLI or CGI binary
--php-sapis Show all SAPI modules installed on the Debian system
--configure-options
Configure options to recreate configuration of current PHP installation
--version PHP version
--vernum PHP version as integer
SEE ALSO
php(1)
VERSION INFORMATION
This manpage describes php, version 5.4.4-14+deb7u14.
COPYRIGHT
Copyright (C) 1997-2010 The PHP Group
This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available
through the world-wide-web at the following url:
http://www.php.net/license/3_01.txt
If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to
license@php.net so we can mail you a copy immediately.
The PHP Group 2010 php-config(1)