- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
15 Posted Topics
Team, Hope you all are doing fine I have one admin server which is being used dedicately to run cron jobs on hourly basis, fetching the details from Database which is in a different server.These cronjob are run on every hourly/5 minutes basis depending as per end user requirement. The …
Team, Presently i have some 20 files which i need to copy and store in the common directory. below is the example: script name: dir.sh cp /tmp/abc /home/abc/xyz cp /tmp/def /home/abc/xyz cp /tmp/hij /home/abc/xyz The above script is run, it copies the source files on the destination directory(xyz), wanted to …
Team, Can any one assist me with my below script requirements I log into a jump box with my login and password, Here I need to create a script which i will run from this point that will connect to a different server using ssh and it should prompt me …
Hi Team, I am new to shell script. Do kindly help me remove junk character from a file having a million records.. As it is production setup do kindly advice Thanks ... Whizkidash
Team, Could you let me know what the below function does which is part of my actual script.. Yeah as per my understanding it checks whether the TAR file has been completed or not.. but what is the 1; does below is it end of line or something other.. CheckRetStat …
Team, I have a shell script which will b run in cron job. On an adhoc basis. The script needs to be run such that the moment it goes to the particular directory. It should adapt to its ownership. But the script which i had shared below is run by …
Hi Team, Problem Description: Well i have a script with me(attached) which monitors the response time of each file and sends mail according to its severity As i am very new to this script it involves mix of korn shell plus html. Request your guidance on the same. Requirement: Presently …
Hi team, 1)There are 2 independent AIX platform available with 10g database running on it Mainly-Production and the other test machine 2)There is 2 tables which needs to be brought down from production to test machine I know expdp/impdp plays the key<commands as below-correct me if the below command needs …
Hi you can use [code]sed ('4,5d') file.txt(your file) > newfile[/code] here it will delete the 4 and 5 file and transfer the remaing file in newfile regards whizkidash
Hell Friend! The above script provided does not work.. Please see the output when i run the script [CODE][/CODE] ./mod.sh label.abcd.1 = poiuppoiu i have the 1.txt and 2.txt but when i do a cat on 1.txt it has done nothing! Thanks for your patience regards Whizkidash
Hi Team, Need your urgent help for the same Well i have a file which consist of million records. Question is : Prepare a script which will cat that particular file..and then,the user will be asked to choose which line in the file he needs to modify the word and …
Hi Team, I have multiple shell scripts created(already prepared), but my Project Manager insisted me to run/call the script as one script.. eg: Script1-"It finds whether file exist or not" Script2-"It replace a word in a file" Script3-"it searches the line and linenumber of a file" i need to run …
Hi Team, I am stuck in a very tight situation.. need your help The below script does not work even please let me know where is the problem and rectify me. Script as below: replace.sh [code]#!/bin/bash file_name=$1 old_templet=$2 new_templet=$3 for file in file_name do cat $file | sed "s/old_templet/new_templet/g" > …
Dear Friend! example as below this used to changes the permissions on database this DCL(DATA CONTROL LANGUGE)STATEMENT *)GRANT---THIS IS ACCESS GARANTED ON PARTICLUR DB OR USER *)DENY----THIS IS PARTICLUR USER WAITING FOR ACCESS WHEN COMMETED THE DATA THEN PERMISSION ON DB *)REVOKE--- THIS STATEMENT USE THE USER HAVE NO PERMISIONS …
Hi team, Well i have been asked to make use of automation scripts for my host production box.. .And i hope u will help me with the same. #script as below: a)when i run script it should ask the person to key in..(means should be interactive) b) it should search …
The End.
whizkidash