I want to use this command:
sed 's/account.db/$PATH/' file1 > file2
and
sed 's/account.db/$PATH.account.db/' file3 > file4
But I dont know how to use it.
I want to use this command:
sed 's/account.db/$PATH/' file1 > file2
and
sed 's/account.db/$PATH.account.db/' file3 > file4
But I dont know how to use it.
/
characters. Do it like thissed "s#foo#$bar#"
(oops the PATH has colons too!) – Zanna Mar 03 '17 at 20:41