Linux Stream changing - backup server

hi everyone, i want to know what i did wrong…

i ssh-ed on backup server i used this command for replacing string in the xml file, so basicly using sed with substitute and global directives? i thought that would be the correct way for this but i failed?

@Inderpreet any thoughts?

sed ‘s/Text/Architecture/g’

Sed doesn’t modify the file by default. You need to add the -i option for it to apply the modifications

OMG you re right, i forgot about that. it only diplays it to stout…i completey forgot about the switch needed for it to change it in the file itself… thanks for the tip and reminder @francilio

1 Like