Search Results

Search: Posts Made By: vanathi
1,585
Posted By vanathi
need a help reg -d in shell
hi,

I am using this to get previous month

`date -d"1 month ago" "+%m"`

But will it work for january?..will it return 12?

Please advice.
12,812
Posted By vanathi
last month end date
Hi,

How to get the lastmonth's end date? (have current date) through s shell script. I need to get it and pass it to a procedure.

Please advice.
Thanks in advance.
4,189
Posted By vanathi
getting date from shell and pass it to java
Hi,

I have a variable called asOfDate in shell script.
I need to pass it as a command line argument to a java command which will be called from the same shell script.
The format of that variable...
2,794
Posted By vanathi
thank you
thank you danmero. it is working.
2,794
Posted By vanathi
Getting the path from a variable
Hi,

I am having a variable
Like

line="/dir1/dir2/gr3/file.ksh"

I need to get the /dir1/dir2/gr3 alone. the no of directories may differ at each time.

Please advice. thanks in advance.
1,715
Posted By vanathi
Need help in shell sripting
Hi,
I need to run the some stored procedures parallel inside a shell script.
Now I am using
sqlplus -s ${connectString} <<!
set serveroutput on

begin
$procedureName;
end;
/...
Showing results 1 to 6 of 6

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