Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 308 Bytes

Create_and_run_shell_script.md

File metadata and controls

20 lines (17 loc) · 308 Bytes

Create and open a shell script file named my-script.sh.

vim my-script.sh

Write down sciprts in the VIM editor and save the file. my-script.sh

#!/bin/sh

<script1>
<script2>
<script3>

Change the permission and run the shell script file.

chmod 755 my-script.sh
./my-script.sh