Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added date sequence

  • Loading branch information...
commit 6e232f43a149b64380ba89e5eaaee6a8047d8baa 1 parent f527d7b
authored February 20, 2013

Showing 1 changed file with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. 7  gerbal.sh
7  gerbal.sh
@@ -87,6 +87,10 @@ function continueornot() {
87 87
 #welcome message
88 88
 g3 "Welcome to Gerbal!, a script writen to make YOUR life easier."
89 89
     sleep 2
  90
+#lets be polite and give a date
  91
+Today="`date`"
  92
+	echo Today is $Today
  93
+    sleep 1
90 94
 g3 "This script will help you to do task on the server with some automation."
91 95
     sleep 2
92 96
 g3 "Keep in mind it only does what you TELL, it to do ;) "
@@ -146,8 +150,9 @@ g4 "Checking ports!!"
146 150
   		(echo >/dev/tcp/localhost/$p) >/dev/null 2>&1 && echo "$p open"
147 151
 	done
148 152
     sleep 1
  153
+
149 154
 #checking to see what is using the open ports 
150  
-g4 "checking to see that is using the open ports!"
  155
+g4 "checking to see what is using the open ports!"
151 156
         netstat -tulpn
152 157
     sleep 3
153 158
 

0 notes on commit 6e232f4

Please sign in to comment.
Something went wrong with that request. Please try again.