Monday, July 30, 2012

vi: replace string with new line

in vi, to place a new line in place of another string, you can use \r

%s/<string to replace>/\r/g

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...