Find the answer to your Linux question:
Results 1 to 2 of 2
What I need for my script is to read something from a file. In that file are random number up to 10 numbers, and the script must read these numbers ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    6

    Need help with bash script

    What I need for my script is to read something from a file. In that file are random number up to 10 numbers, and the script must read these numbers and then add them up and give me a sum. If anyone knows how to do this can you please help me.

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    This sounds a lot like a homework question. Homework questions are not allowed as per the forum rules:

    http://www.linuxforums.org/forum/lin...ums-rules.html
    DISTRO=Arch
    Registered Linux User #388732

Posting Permissions

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