Q
Q
QQ2016-03-15 00:39:28
linux
QQ, 2016-03-15 00:39:28

How to quickly edit the config?

Hello.
How to quickly edit configs where there is:
variable1 = value1
variable2 = value2

sed -i "s/переменная1 = значение1/переменная1 = значение3/g" /data.conf

Through sed already fed up, because I think there is a better way?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolay Sinyov, 2016-03-15
@NickSin

And than standard editors do not suit? Like Vim or Nano?

C
CityCat4, 2016-03-15
@CityCat4

What does "fast" mean? Hands? Script?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question