Wednesday 18 March 2020

shell script

$#  Stores the number of command-line arguments that were passed to the shell program

$? Stores the exit value of the last command that was executed. 

$@ treats each quoted arguments as separate arguments .

 $* will consider the entire set of positional parameters as a single string.


Saturday 14 March 2020

interview questions

1)  what is ocr
2) what is scan listener and scan ip
3) what the thing present in cdb and pdb
4) if cdb goes down will pdb alive
5) upgrade steps
6) dataguard switch over
7)cache fusion
8) global enque service global cache service
9) steps for clusteware upgrade
10) what is cluvfy
11) upgrade process from 11g to 18c
12) we have three oracle binaries and the central inventory is lost then what to do.
13) if archive log is lost how to perform the backup successfully.
14)

what is the difference between $#
how to sort a number
how to find a particular word
how to replace last five words
how to run a job from foreground to background in linux
what is for loop and while loop
what is break statement




Featured post

Postgres commads

 [oracle@Tesdb ~]$ systemctl status postgresql-15 ● postgresql-15.service - PostgreSQL 15 database server    Loaded: loaded (/usr/lib/system...