Linux foundation

Script application

1. New script file build.sh, the content is as follows: #! / Bin / bashecho “Hello World!” 2, give execution permissions chmod 555 test.sh3, execute scripts ./build.sh Note: If you are editing in Windows Script file: When editing under WIN, the finishing line end is

And under Linux is

So replace it in Linux

: SED -I ‘S /

$ / ‘build.sh

Related Posts