-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tripura kant
committed
Sep 24, 2023
1 parent
69629b0
commit d54def2
Showing
6 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/bash | ||
|
||
java -version | ||
docker --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
dockerVersion="$(docker --version | cut -d ' ' -f 3 | tr -d ,)" | ||
|
||
ansibleVersion="$(ansible --version | awk 'NR==1 {print $3}' | tr -d ])" | ||
|
||
echo "Docker version: $dockerVersion" | ||
|
||
echo "Ansible version: $ansibleVersion" | ||
|
||
|
||
echo "--------------------------------------------------------------" | ||
echo "| Tool Name | Version |" | ||
echo "--------------------------------------------------------------" | ||
echo "| Docker | ${dockerVersion} |" | ||
echo "| Ansible | ${ansibleVersion} |" | ||
echo "--------------------------------------------------------------" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/bash | ||
|
||
read -p "Enter a terminal: " terminal | ||
|
||
echo "The terminal is ${terminal}." |
Empty file.
Empty file.
Empty file.