•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 391,566 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,631 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser:
Views: 3565 | Replies: 1
![]() |
•
•
Join Date: May 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi there, I'm new to this forum and to bash scripting.
I am required to write a bash shell script that processes statistical information for a website. Each web page has a "hits" file associated with it, eg. index.hits. Each line of a hits file records a single access of that web page, including IP address and access time. Example line:
123.123.123.123 Mon Feb 7 22:02:35 GMT 2005
My script will process this information and present it in a table. I can't figure out how I would find if there where more than one "hit" from the same IP?
Can anyone give me a little help?
Many Thanks
Dan
I am required to write a bash shell script that processes statistical information for a website. Each web page has a "hits" file associated with it, eg. index.hits. Each line of a hits file records a single access of that web page, including IP address and access time. Example line:
123.123.123.123 Mon Feb 7 22:02:35 GMT 2005
My script will process this information and present it in a table. I can't figure out how I would find if there where more than one "hit" from the same IP?
Can anyone give me a little help?
Many Thanks
Dan
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Shell Scripting Marketplace
•
•
•
•
adult advertising analytics blog browser browsing china community competition data design development devices domains firefox google html india internet java legal linux marketing microsoft mobile applications monetization mozilla msn multimedia news php privacy report research revenue rss search security sex software statistics technology video w3c web web development webmaster wiki xml yahoo
- how to open web page using perl (Perl)
- retrieve date from database to display on web page (PHP)
- web page blog (HTML and CSS)
- Bringing a minimized mozilla web page to the foreground (Existing Scripts)
- Searching my web page (PHP)
- HTML4 , web page do not display few characters(soft hyphen), Marathi(LangscapeDevpooj (ASP)
- How to create a web page with scrolling menus to specific entries (HTML and CSS)
- unable to load windows update web page (Viruses, Spyware and other Nasties)
Other Threads in the Shell Scripting Forum
- Previous Thread: what's the meaning of " ${1:-} "?
- Next Thread: Removing entries


Linear Mode