Re: Script
On Sat, Mar 08, 2003 at 09:46:30PM +0200, Tinus Kotze wrote:
> I am currently using proftp as a server. I am still learning scripts. I
> was thinking of using a script to help me with my access. I would like
> to take the xferlog and firstly takeout all the ip's that have logged
> into my server. Then I would like to use host to lookup the ip and then
> save under each host name the files that have been transferred. Can
> somebody help me with this, even if it is only pointers i would
> appreciate it. I am familiar with programming in delphi,java and a bit
> of C, altough no real scripting so far.
I suggest you read the bash, awk and sed tutorials:
http://www-105.ibm.com/developerworks/papers.nsf/dw/linux-papers-bytitle?OpenDocument&Count=500
I would use bash+awk, perl or python should also work.
Sven
--
Revolution is not a dinner party, not an essay, nor a painting, nor a piece of
embroidery; it cannot be advanced softly, gradually, carefully, considerately,
respectfully, politely, plainly, and modestly.
- Mao Zedong (Mao Tse-tung)
Reply to:
- References:
- Script
- From: Tinus Kotze <13596128@sun.ac.za>