Search Results

Search: Posts Made By: akarnya
1,699
Posted By pamu
Why you need expr here..? just use ...
Why you need expr here..?

just use

IP=$(grep IP /tmp/input.txt | cut -d "=" -f2)
PC=$(grep PC /tmp/input.txt | cut -d "=" -f2)
8,053
Posted By AraR87
okay thanks sir
okay thanks sir
8,053
Posted By AraR87
change this a.txt file into cfg file.. and...
change this a.txt file into cfg file.. and include the cfg path inside the script...

for example..
a.cfg
------
STEPS=3
STEP_DURATION=100
INTERVAL=60

sample.sh

#!/bin/sh

....
Showing results 1 to 3 of 3

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