Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Location
    Milwaukee
    Posts
    4

    Unanswered: whats the best way to get this done?

    I am new to unix scripting.

    Looking for some direction here how to do the following


    I have a file that contains names



    Bill
    Jim
    Mike
    Tom
    Ed



    I need to loop through the file and replace a variable and then do a FTP

    Start of loop (I would guess do a while?)
    Some how access file (???)
    LCD=/home/aim/$LOGNAME/TELD_TIER1_SUPPORT
    OCD=/home/aim/$name/TELD_TIER1_SUPPORT
    (Bill) needs to go into $name
    (Jim) second time around
    (Mike) thrid time around
    FTP (I have working)
    Back to start of loop
    Last edited by wg1856; 10-24-08 at 13:50.

  2. #2
    Join Date
    Oct 2008
    Location
    Milwaukee
    Posts
    4
    I got it working thanks anyway

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •