Why to Write Shell Script ?

Why to Write Shell Script ?

Senior Developer Asked on December 7, 2017 in LINUX.
Add Comment
1 Answer(s)
  • Shell script can take input from user, file and output them on screen.
  • Useful to create our own commands.
  • Save lots of time.
  • Shell script useful for automating tasks on Linux.

Write a script {fisrt.sh} and give the shell permission to execute it.


#!/bin/bash

# My first script

echo "Welcome to my site!"

Team Leader Answered on December 7, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.