Skip to main content
edited tags
Link
terdon
  • 252.2k
  • 69
  • 480
  • 718

I have a config file with following structure.

ValueOne = 1 ValueTwo = 2 ValueThree = 3

ValueOne = 1
ValueTwo = 2
ValueThree = 3

I wentwant a one liner bash script to find ValueTwo and change the value to 22222.

Any idea? Not School Thing

I have a config file with following structure.

ValueOne = 1 ValueTwo = 2 ValueThree = 3

I went a one liner bash script to find ValueTwo and change the value to 22222.

Any idea? Not School Thing

I have a config file with following structure.

ValueOne = 1
ValueTwo = 2
ValueThree = 3

I want a one liner bash script to find ValueTwo and change the value to 22222.

Any idea? Not School Thing

Source Link
TRA
  • 123
  • 1
  • 1
  • 5

Bash one liner to change configuration parameters

I have a config file with following structure.

ValueOne = 1 ValueTwo = 2 ValueThree = 3

I went a one liner bash script to find ValueTwo and change the value to 22222.

Any idea? Not School Thing