Search Results

Search: Posts Made By: praveen265
1,943
Posted By praveen265
Unset variables in shell when it running two different loops
I have a script to start/stop/restart the tomcat application. When we run the script first time i.e stop/start it set all env variables(DISTRIB_ID,NAME,TOMCAT_CFG,....etc),but when we restart the...
3,977
Posted By praveen265
Calculate time difference between pst and pdt dates in perl
Hi,

how to calculate the time difference between PST date and PDT date in perl scripting.

date1: Mon Dec 31 16:00:01 PST 2015
date2: Tue Mar 19 06:09:30 PDT 2013

and also difference...
1,461
Posted By praveen265
Thanks for correcting me :)
Thanks for correcting me :)
1,461
Posted By praveen265
How to take the file name in run time using shell.?
I want to take the file name as an input to the program and copy that file into new location using shell. Below program is not working properly.
#!/bin/sh
if [ $file != '']; then
`/usr/bin/perl...
993
Posted By praveen265
Thanks :) ...it's working fine.
Thanks :) ...it's working fine.
993
Posted By praveen265
How to replaces a value in a file after a particular string using perl?
I need to replace the value of notifications_enabled to 0 if the value already set to 1 and vice versa(not the other values and spaces remain same after the value changed). I tried the below program...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy