Search Results

Search: Posts Made By: dco
2,413
Posted By dco
Sed, awk or another bash command to modify string with the content of another file
Hello everybody,

I would like modify some strings using sed or another command line with the content file.

For example:
- {fqdn: "server-01" , ip: "server-01"}
- {fqdn: "server-02" , ip:...
1,880
Posted By dco
Dear stomp, Thank you very much for your help,...
Dear stomp,
Thank you very much for your help, it's works very well !!!
1,880
Posted By dco
Hello, many thanks for your reply. @Neo,...
Hello,
many thanks for your reply.

@Neo, Unfortunately I can't use this command:

sed -i.bak 's/oldpass/newpass/g'

Because I have several settings with the same string ... :(

Example:...
1,880
Posted By dco
Setting config database user and password using sed
Hello everybody,

I need to modify 200 files using a patern matching, I would like to do it with sed but it's not working with the following syntax:

sed -e...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 06:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy