Linux foundation

Script application

1. New script file, the content is as follows: #! / Bin / bashecho “Hello World!” 2, give execution permissions chmod 555 test.sh3, execute scripts ./ 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 /

$ / ‘

Related Posts