Search Results

Search: Posts Made By: astrolux444
7,055
Posted By astrolux444
+= operator
im new to bash scripting and im just using online tutorials and trial and error. i wanted to write a script to read numbers from a file and find their sum:



#!/bin/bash

theSum=0
for line in...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy