Plan-to-Host
Home
Help
Search
Login
Register
Welcome,Guest. Please
login
or
register
.
Plan-to-Host Forum
>
General Category
>
Linux Newbie
>
help with shell script
September 10, 2010, 02:24:20 PM
News: Please enjoy your discussions!
1 Hour
1 Day
1 Week
1 Month
Forever
Pages: [
1
]
« previous
next »
Author
Topic: help with shell script (Read 745 times)
Topic Options
tarun
help with shell script
«
on:
January 02, 2009, 10:12:46 AM »
Newbie
Posts: 1
Good to be here.
hi,
need help with a shell script to parse my log file to extract userids, and page accessed by time and ips.
«
Last Edit: January 04, 2009, 05:32:33 PM by tarun
»
tora
Re: help with shell script
«
Reply #1 on:
January 05, 2009, 06:51:49 AM »
Newbie
Posts: 2
Good to be here.
Perhaps you could use awk to gather information and put them together. For example to get userid;
awk '
/\?userid=[0-9]+/ {
userids[ucnt++","NR] = $0
}
Pages: [
1
]
« previous
next »