How to create and execute Linux scripts with examples