I need a shell script which can copy the files from one unix server to another after a exp command is executed successfully and remove the file from the source server.
(exp is a utility in oracle which exports table as dump files, I am sure most of you guys know, but just in case)
for ex: (psuedo code)
copy "sub_part_2002_A .dmp" to the "/remote/path/dump_area"
After succesful copy it should delete the file from the source path (/source/path/dump_area/sub_part_2002_A .dmp)
Also one more thing to this is:
I have a file which has following content:
sub_part_2002_A in the exp command should be taken from this file. After this is done then it should goto the next line of the file and replace it with sub_part_2002_J .dmp in the exp command. You see where I am going?
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
How to Create User-Defined Aggregates in Oracle
Before we begin creating these things, what are user-defined aggregates? They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax:
This way, I guessed, I would ensure that use…