Search Results

Search: Posts Made By: venkat918
4,849
Posted By venkat918
How to apply the update statement in multiple servers on multiple dbs at a time .?
Hi ,

Can any please help the below requirement on all multiple servers and multiple dbs.

update configuration set value='yes' ;1)

the above statement apply on 31 Databases at a time on...
3,045
Posted By venkat918
File transfer from UNIX to shared location using shell script
Is there any possible way transfering the file from unix to shared location using shell script.
i had created the batch script to fetch the files from unix to shared location and it works fine. Due...
2,273
Posted By venkat918
sorry for typo message . Yeah , the above...
sorry for typo message .

Yeah , the above recommendation is fantastic and its working fine using the above command .

if the above error message occurred in log, i would like to get the error in...
2,273
Posted By venkat918
How to search the multiple strings in app server.log?
Hi Team,

Could you please suggest the below requirement.

using the below server log, i just want only the order_id with combination of customer name , error code value as 5000111 & amount...
1,967
Posted By venkat918
I'm sincere apologies for inconvienced to all,...
I'm sincere apologies for inconvienced to all, will ensure not to repeat this type thing henceforth.
1,967
Posted By venkat918
Thanks for your response. had applied the...
Thanks for your response.

had applied the below logic to acheieve my output .


if [[ "${num[0]}" != "" ]] || [[ "${num[1]}" != "" ]] || [[ "${num[2]}" != "" ]] || [[ "${num[3]}" != "" ]] || [[...
1,967
Posted By venkat918
Wrong parameters are taking
Hi All,

Could you please assist the below query :-

had created the below script to print the below content email, however the instance now is not displaying correctly and it is print the wrong...
4,211
Posted By venkat918
Thanks all, had applied the below logic to get...
Thanks all, had applied the below logic to get the last month file.

#!/bin/bash

Day=$(date +%A)
dt=$(date +%d)
yr=$(date +%Y)
mon=$(date +%b)
month=$(date +%m)
prev_month=$(date +%m...
3,141
Posted By venkat918
Copying the files in to multiple location using shell script
Hi All,

i'm trying to copy the 1.txt files (sample files) in to different path location using the below command.
But it is not copying the files , when i tried for single location able to copy...
4,211
Posted By venkat918
How to copy the previous month files using shell script?
could you please assist the below query.

i had written the below piece of code to copy the files from one directory to another. For current month files had been copied ,unfortunately the previous...
3,129
Posted By venkat918
Can any one help the issue. Tried with many ways...
Can any one help the issue. Tried with many ways getting the same error message.

./cleanup.sh
'm: invalid option -- '
Try `rm --help' for more information.
'm: invalid option -- '
Try `rm...
3,129
Posted By venkat918
i have tried use the above command using shell...
i have tried use the above command using shell script. it is throwing the below error message .



./cleanup.sh
find: missing argument to `-exec'

command were added in shell script as...
3,129
Posted By venkat918
Find and removing the old files and zipping the files using shell script
Hi,

I am trying to removing the old files which were older than 10 days and same g zipping the files using the shell script.

script was return as follows.

find...
12,979
Posted By venkat918
Please suggest me
Please suggest me
12,979
Posted By venkat918
Hi , I have amended in to log file . It is...
Hi ,

I have amended in to log file . It is working perfectly. But i observed the files are moving to different path which it seems the script is not working as expected.

#!/usr/bin/bash
echo...
12,979
Posted By venkat918
oops!!!! Now the script is working properly....
oops!!!!

Now the script is working properly. But how to amend in the log files that means i want to know how many files were moved out to source to destination.
12,979
Posted By venkat918
Hi , I have modified the 90 day instead of 1...
Hi ,

I have modified the 90 day instead of 1 day. Please find the original script which i have tried but no luck :(

#!/usr/bin/bash
cd /var/opt/projects/apps/temp || exit 1

echo "Finding...
12,979
Posted By venkat918
Thanks for your help. On the basis of above...
Thanks for your help.

On the basis of above command i have written the below shell script. Could you please verify whether it is correct or not.


#!/usr/bin/bash


echo "Wait until the...
12,979
Posted By venkat918
How to move gz files from one source directory to destination directory?
Hi All,

Daily i am doing the house keeping in one of my server and manually moving the files which were older than 90 days and moving to destination folder.

using the find command . Could you...
5,086
Posted By venkat918
Hi Rudic, Just suggest me . I am planning to...
Hi Rudic,

Just suggest me . I am planning to put the automation script of last 90 days gzip files from one source to another destination folder using shell script.
5,086
Posted By venkat918
Thanks for Quick reply. Please find the...
Thanks for Quick reply.

Please find the details :-

NFS is the destination folder where i'm trying to move the files and to avoid discrepancies because of space issue i want to have a check the...
5,086
Posted By venkat918
Moving Files one directory to another directory shell script
Hi,

Could you please assist how to move the gz files which are older than the 90 days from one folder to another folder ,before that it need to check the file system named "nfs" if size is less...
Showing results 1 to 22 of 22

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