linux bash scripting code example
Example 1: bash scripting
#!/bin/sh
# Author : Zara Ali
# Copyright (c) Tutorialspoint.com
# Script follows here:
echo "What is your role"
read ROLE
echo "My Role : $ROLE"
Example 2: linux bash scripts tutorial
$ which bash
Example 3: linux bash scripts tutorial
#!/bin/bashtar -czf myhome_directory.tar.gz /home/linuxconfig