Search Results

Search: Posts Made By: kotasateesh
15,994
Posted By kotasateesh
shell script output in HTML or with table like results
Hello,
Currently i have a ksh script which will disply the results in plain text format.
I want to format the result in more readable format like Making bold headings and format with colors etc....
1,868
Posted By kotasateesh
capturing C++ binary return status in perl
Hello,
I have a C++ binary that runs in my perl script. But, Currently, the binary is doing a core dump and i want to capture the retrun status of the binary to report as an issue.
Can you please...
2,122
Posted By kotasateesh
capturing C++ binary return status in perl
Hello,
I have a C++ binary that runs in my perl script. But, Currently, the binary is doing a core dump and i want to capture the retrun status of the binary to report as an issue.
Can you please...
Forum: Solaris 08-20-2008
4,366
Posted By kotasateesh
C++ Core dump in Solaries
Hello All,
I need to basically capture any core dump of C++ binary which is running in a perl script on SUN Solaris OS.
I dont kno much in C++. Can you please suggest me a C++ binary that core...
4,076
Posted By kotasateesh
The connection actually establishes bet it...
The connection actually establishes bet it doesnt come back and i had to kill the job explecitly.
Can u please refer me some examples to avoid this issue. Is there is any other option other than...
4,076
Posted By kotasateesh
BatchMode issue
Hello All,
I have an issue with sftp in BatchMode option. I am using the below command to sftp a file in ssh2 from a script.

sftp -o BatchMode=yes userid@servername <<EOF
cd /ftp/cds
put...
5,584
Posted By kotasateesh
sftp BatchMode issue
Hello All,
I have a issue with the below script that i am using to sftp a file.

sftp -o BatchMode=yes $sftpLogin <<EOF
cd /ftp/cds
get cdstesting.csv
quit
EOF

When i use this, the...
5,347
Posted By kotasateesh
divide issue
Hi,
I have a issue dividing 2 values in UNIX

a=15
b=100
c = a / b ==> and it is returning 0 instead of 0.15 into variable C.

How can i resolve this issue ? please help
8,710
Posted By kotasateesh
how to find the spid
Hi,
I have a requirement that i need to find the spid of the program that i am running in the same script and assign to a variable.
How can i do that in KSH script.

Thanks,
Sateesh
2,095
Posted By kotasateesh
expr problem
Hi,
in my ksh script

expr 22 / 10 results as 2
but the actual result expected in 2.2.
how do i get that result. Please help

Thanks,
3,546
Posted By kotasateesh
expr problem
Hi,
in my ksh script

expr 22 / 10 results as 2
but the actual result expected in 2.2.
how do i get that result. Please help

Thanks,
5,678
Posted By kotasateesh
i found the soution myself with the below command...
i found the soution myself with the below command

if [ $eval ""$country_cd"_Holiday" -eq 1 ]

it worked.
5,678
Posted By kotasateesh
Sorry if i have confused. country_cd comes in...
Sorry if i have confused.
country_cd comes in for loop and i need make a variable like $AU_holiday $SG_holiday where AU and SG are from the loop
5,678
Posted By kotasateesh
double variable declaration
i have variables with different values as below in KSH
AU_Holiday=1
SG_Holiday=0
KR_Holiday=1
JP_Holiday=0

$country_cd is the second variable which be one of 'AU' 'SG' 'KR' 'JP' which comes in...
3,582
Posted By kotasateesh
here is the result. CheckId Description...
here is the result.

CheckId Description Frequency AU SG AP BEI BKK ...
3,582
Posted By kotasateesh
formatting the sql select result
Hi,
I have about 12 columns and 15 rows to be retrived from sybase isql command through unix. But when i output the sql into a file and see it, the formatting is going for a toss. can someone please...
112,195
Posted By kotasateesh
last line from grep resullt
Hi,

I have a grep command returns more than 20 lines. I need to display the last line of the grep result that i get.
Can someone please help me with this ?

Thanks,
Sateesh
13,495
Posted By kotasateesh
next/Previous business day
Hello,
Can you please help me how do i get previous and next working day of the week for a given date excluding saturday and sunday.

Ex: if the given date is monday, i should get friday and...
2,871
Posted By kotasateesh
current_date -1
Hello,
Can someone please help me how do i get current date-1 in a unix script
i.e yesterday's date ?

Thanks,
Sateesh
14,813
Posted By kotasateesh
file watcher job
Hello,
I am trying to create a file watcher script to check for a file until certain time and throw a message. can some one please help me if there is script handy ??

Thanks,
Sateesh
2,166
Posted By kotasateesh
Thanks. It worked
Thanks. It worked
2,166
Posted By kotasateesh
date comparision
Hello,
I am trying to compare two dates which are in variables and i am not getting the correct result as expected.

$first_date = '07/19/2007'
$second_date='07/20/2007'

Can you please suggest...
5,077
Posted By kotasateesh
zipping in a loop
Hello All,
I have a requirement that i need to gzip each file that is more than 5 days old inside a directory. Could some one help me with the script ?
do i need to write a for loop or can be done...
5,838
Posted By kotasateesh
Thanks for your reply. how can i get these file...
Thanks for your reply. how can i get these file in to an array so that i can zip them.
5,838
Posted By kotasateesh
search by modified date
Hello,
How can i search for all the files in a particular directory which are not updated from past 5 days.

Thanks,
Sateesh
Showing results 1 to 25 of 40

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