Replaces matching line(s) with a specified string.
It replaces whole lines!
use edit
@ Editing sshd_config
- replace_line_matching 'domain' 'domain=example.com' /etc/default/domain.cfg
Replaces matching line(s) with a specified string.
It replaces whole lines!
use edit
@ Editing sshd_config
- replace_line_matching 'domain' 'domain=example.com' /etc/default/domain.cfg