Related Articles
SVN Result Codes
The common SVN Status Codes are : U: Working file was updated G: Changes on the repo were automatically merged into the working copy M: Working copy is modified C: This file conflicts with the version in the repo ?: This file is not under version control !: This file is under version control but […]
How to Run a Shell Script as Automatic Start Up Service in Linux Centos
Follow below steps to Create start services at startup automatically in Linux. Run a Shell Script as Automatic Start Up Service 1. Create a Shell Script Serivce named myserviced(anyname is ok) in /etc/init.d dir 2. Add it to chkconfig sudo /sbin/chkconfig –add myserviced 3. To check whether the serivce is sucessfully added in chkconfig sudo […]
How to Check the Last Day in Month
Check the Last Day in Month $startDate = “20150624”;$endDate = “20150722”;$startDate = strtotime($startDate);$endDate = strtotime($endDate);$dayLength = 60 * 60 * 24;$checkDateRange = ($endDate – $startDate) / $dayLength;$datesStartMonth = date(‘t’, $startDate);if ($checkDateRange > $datesStartMonth) {echo $error = “Date range should be with in one month”;}

