How can I pass the contents of a file into an integer?
I am trying to make a .sh programm , which will read the user input , pass it into an integer , write the integer into a file , then read the file , pass the contents of it in another integer , and the echo the last integer I am trying this
Code:
#! /bin/bash |
This should work..
Code:
read value1 |
All times are GMT -5. The time now is 09:01 AM. |