Script

For example if I want to exchange information of a XXXX file.

The XXXX fcheiro contains: NAME: FILE

I want him to switch to: NAME: YYYY

How would the script in suse studio for the process

In the script section you could put the following line that would probably
do the job, if I understand your request fully:


sed -i -e 's/NAME: FILE/NAME: YYYY/'


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

I’ll simplify.

I have a file in “/ usr /” … The file name is “DOC”

Within the file is written “LINUX” …

I want a script that whenever I shut down the OS will change what is written in the file to “LINUX NEW”

Help please

man sed
or read in the other Studio Forum