Basic Commands in Unix

1.pwd: This command gives you the print working directory : Which means it will give you the path where you are currently standing.

$ pwd
/usrdev/username/ENV4/eodbatch/prd
username@servername:/usrdev/username/ENV4/eodbatch/prd

Shell Script Using Nested If Else Loop and Taking Inputs

This Page will make us learn : If Else Loop, Linux Shell Scripts, Unix Shell Scripts Accepting Inputs, Shell Scripts with Nested If Else loop, Unix Programming.

#!/usr/bin/bash
# ------------------------------------------------------------------
# Author : Rahul Miglani
# Date : XX/XX/XXXX
# Description : This script allows you to run Scripts depending on your choices
# ------------------------------------------------------------------

# let us first take the input where in we will see if we have to run scripts in environment 1 or environment 4

x

Get Our Latest Posts Via Email - It's Free

Enter your email address:

Delivered by FeedBurner