diff --git a/Script1.sh b/Script1.sh index 970b10cc..bbeb7514 100644 --- a/Script1.sh +++ b/Script1.sh @@ -2,3 +2,9 @@ #This is my 1st shell script to print output echo "Hello All, Welcome to AWS/Devops Class" echo "Hello, How are you?" +echo "Welcome to Young Minds" +echo "Hello batch-21, We are learning Jenkins" +echo "hello Team, How are you?" +echo "hello we are learing devOps this is get session" +echo "hello omkar your are learn Aws DevOps For job purpose" +echo "akshay pawar how are you" diff --git a/Script11.sh b/Script11.sh index d810876d..3d6c1eba 100644 --- a/Script11.sh +++ b/Script11.sh @@ -16,3 +16,5 @@ then else echo "None of the condition met" fi + +echo "I have changed this branch" diff --git a/Script12.sh b/Script12.sh index d75af12d..1bca0b03 100644 --- a/Script12.sh +++ b/Script12.sh @@ -1,24 +1,4 @@ #!/bin/bash -#this script is for if-elif-fi -echo "Please enter value of a" -read a -echo "Please enter vaule of b" -read b -if [ $a == $b ] -then - echo "a is equal to b" -elif [ $a -gt $b ] -then - echo "a is greater than b" -elif [ $a -lt $b ] -then - echo "a is less than b" -else - echo "None of the condition met" -fi -root@ip-172-31-42-137:~/scripts/shellscripts# ^C -root@ip-172-31-42-137:~/scripts/shellscripts# cat script12.sh -#!/bin/sh a="abc" b="efg" @@ -26,7 +6,7 @@ if [ $a = $b ] then echo "$a = $b : a is equal to b" else - echo "$a = $b: a is not equal to b" + echo "$a != $b: a is not equal to b" fi @@ -34,7 +14,7 @@ if [ $a != $b ] then echo "$a != $b : a is not equal to b" else - echo "$a != $b: a is equal to b" + echo "$a = $b: a is equal to b" fi diff --git a/Script13.sh b/Script13.sh index 958a0150..2a534ecf 100644 --- a/Script13.sh +++ b/Script13.sh @@ -9,7 +9,7 @@ if [ $a != $b ] then echo "$a != $b : a is not equal to b" else - echo "$a != $b: a is equal to b" + echo "$a = $b: a is equal to b" fi if [ $a -lt 100 -a $b -gt 15 ] diff --git a/Script14.sh b/Script14.sh index af3cf400..bca73824 100644 --- a/Script14.sh +++ b/Script14.sh @@ -3,3 +3,9 @@ for i in 1 2 3 4 5 do echo "Looping ... number $i" done + + +echo "we have add new code commit" + +echo "we have add new code commit" +echo "we have add new code commit" \ No newline at end of file diff --git a/Script19.sh b/Script19.sh new file mode 100644 index 00000000..cc4cf194 --- /dev/null +++ b/Script19.sh @@ -0,0 +1 @@ +new script diff --git a/Script2.sh b/Script2.sh index d507e753..def499d1 100644 --- a/Script2.sh +++ b/Script2.sh @@ -5,4 +5,6 @@ read a echo "Value of b" read b echo "Hello value of a is $a and value of b is $b" -echo "This is sample change" +echo "We are performing this practical for batch-20" +echo "we learn branching" +echo "we add new branch" \ No newline at end of file diff --git a/Script4.sh b/Script4.sh index c016e2bf..8950f7af 100644 --- a/Script4.sh +++ b/Script4.sh @@ -4,3 +4,4 @@ Class=Young-minds Batch=13 PROFESSION=AWS/DevOps echo "Class Name is $Class, Batch number $Batch, We are learning $PROFESSION" + diff --git a/Script5.sh b/Script5.sh index e7c8a940..3c83a70c 100644 --- a/Script5.sh +++ b/Script5.sh @@ -4,3 +4,4 @@ NAME=Young-Minds readonly NAME NAME=DEVOPS echo "my name is: $NAME" +echo "this practice for git session" diff --git a/Script6.sh b/Script6.sh index 6284b492..0db98774 100644 --- a/Script6.sh +++ b/Script6.sh @@ -5,3 +5,4 @@ echo "1st cmdls: $1" echo "2nd cmdla: $2" echo "cmdla list: $@" echo "no of cmdl: $#" +echo "this practice for branching" \ No newline at end of file diff --git a/Script8.sh b/Script8.sh index 3d246692..ee943b04 100644 --- a/Script8.sh +++ b/Script8.sh @@ -27,3 +27,4 @@ then else echo "None of the condition met" fi +echo "we start to lear git"