I came across this situation where I needed to change the timeout of a certain command alone in a script temporarily and automatically. I came across a solution using sed
sed -i "24s/timeoutValue1/timeValue2/" fileName
Ref:
Replace String Based on Line Number
No comments:
Post a Comment