Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: RSC1985
1,760
Posted By RSC1985
Thanks for your recommendations.
Thanks for your recommendations.
1,760
Posted By RSC1985
Communication between different hosts through shell scripts.
1) I have two scripts named as a.sh,b.sh running two different hosts host1 and host2
2) So now how to execute b.sh on host2 from a.sh on host1
3) Also I have few queries regarding the same as I...
4,742
Posted By RSC1985
My actual query is select...
My actual query is
select REQUEST_ID,DESCRIPTION from table1 where REQUEST_GROUP_ID in (select ID from table2 where DATE(PLANNED_START_DATE) = DATE (NOW()));

I'm getting the output collectively...
4,742
Posted By RSC1985
Sample output REQUEST_ID DESCRIPTION 39154...
Sample output

REQUEST_ID DESCRIPTION 39154 desc1 39303 desc2 39338 desc3 39342 desc4 35678 desc5 36758 desc6

Desired Format:

REQUEST_GROUP_ID1

REQUEST_ID DESCRIPTION

39154 desc1 ...
4,742
Posted By RSC1985
Formatting the query output using shell script
Hi All,

I'm finding it difficult to format the query output that was returned in a shell script.

Actually i have one shell script which does some DB stuff and depending on the result it will do...
2,128
Posted By RSC1985
if i use the below it will prompt me for...
if i use the below it will prompt me for password.

ssh user@host "/home/user/DBConnect.sh option1 otpion2"

I'm trying to do it through a shell script. So i dont want it to be in interactive...
2,128
Posted By RSC1985
Executing scipts after logging into a remote host using shell script
Hi All,

Sorry if it is a duplicate post. I have not got any reference about this anywhere.

I looked at the posts described in SSH - Passing Unix login passwords through shell scripts - Linux /...
49,366
Posted By RSC1985
how to check weblogic server status in Unix machine
Hi All,Could anybody help in suggesting how to check the weblogic server status in a Unix machine?

ps -ef |grep "startWeblogic.sh"
The above command would give the running status but can anyone...
3,607
Posted By RSC1985
problem in exit status of the command in a shell script-FTP
Hi All,

I have developed below script for FTP a file from unix machine to another machine.

ftpToABC ()
{

USER='xyz'
PASSWD='abc'
echo "open xx.yy.zbx.aaa
user $USER $PASSWD
binary...
1,962
Posted By RSC1985
shell script to get the arrival count of file
Hello All,

I have come across a small problem. It would be great if any of you could help me in resolving the issue.

one file named dummy.txt will be ftped to Unix machine twice daily. If i...
1,457
Posted By RSC1985
Cron and multiple scripts problem.
Hello All,

I have 3 scripts namingly 1X 2X and 3X.
I have one directory ABC created which contains some 40 sub directories.
I have one input file in the below format.The input file resides in...
2,423
Posted By RSC1985
I'm getting the error ssh: XXXXX: host/servname...
I'm getting the error ssh: XXXXX: host/servname not known
where XXXXX my hostname..Please help

I did the same what ever mentioned.

YYYYY-Box A
XXXXX-Box B

I'm in YYYYY box and trying to...
2,423
Posted By RSC1985
Thanks for your propmt response. could you please...
Thanks for your propmt response. could you please some dummy script to do that to have better idea how to go about that...
2,423
Posted By RSC1985
Invoking one shell script from another unix box
Hello All,

I have a shell script A which is in one unix box. Also i have a script B in another unix box. Now i'm struggling to find a way to invoke A shell script from B shell script. Is it...
2,319
Posted By RSC1985
I'm not getting any error.All the time it logs...
I'm not getting any error.All the time it logs the messages

The input file is found.
Initiating RVPMIG2X script

though the script is still running it is entering into if block logs the above...
2,319
Posted By RSC1985
Scheduling Cron job-Problem
Hello All,

I want to run a script for every 5 minutes interval.So i developed a script which has to be scheduled to run for every 5 minutes. That script internally runs another script. But the...
4,199
Posted By RSC1985
Thanks a ton for the idea. changing the timestamp...
Thanks a ton for the idea. changing the timestamp using touch command will definitely help me going forward. Once again thanks a lot for the useful reply.
4,199
Posted By RSC1985
Below is the example. I will get the...
Below is the example.

I will get the timestamps(file modification time in the form YYYYMMDDHHMMSS) for all the files in the directory by the below code.


for filename in `find . -type f -exec...
4,199
Posted By RSC1985
Can't I do direct comparison Because if i store...
Can't I do direct comparison Because if i store into a variable the timestamp, I can directly do the comparison. But I'm struggling to store all these timestamps and next comparing all these...
4,199
Posted By RSC1985
Comparing with the other timestamps of other...
Comparing with the other timestamps of other files. And i'm storing timeStamp in a variable as of now. My questions is how to acheive that comparison task?
2,357
Posted By RSC1985
comparing time stamps
Hello All,

I'm generating timestamps (file creation timestamps) for all the files in a directory. I need to compare all the timestamps.
for example if i have 4 files and their timestamps are...
4,199
Posted By RSC1985
comparing time stamps
Hello All,

I'm generating timestamps (file creation timestamps) for all the files in a directory. I need to compare all the timestamps.
for example if i have 4 files and their timestamps are...
1,854
Posted By RSC1985
Thanks for the prompt response. I'm using...
Thanks for the prompt response. I'm using Ksh.Most of the string functions are not working.More over the above solution only replaces the first occurance of the substring. But if i have many...
1,854
Posted By RSC1985
AWK Utitlity
Hi All,

Greetings for the day.
I request your thoughts on the below.
I have replace one particular substring in a string.I could get the substring value using awk command.

echo | awk '{...
2,763
Posted By RSC1985
Well, The size can be of 1MB,1GB or even 1KB...
Well, The size can be of 1MB,1GB or even 1KB also.Also the number of files also vary from time to time so we may not be knowing the size and number before we start FTP.

If we open many FTP...
Showing results 1 to 25 of 32

 

Featured Tech Videos

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