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.


No comments:

Post a Comment

Featured post

duplicate db from standy to other server

 Duplicate Testuat   $ export ORACLE_SID=Testuat3 $ sqlplus '/as sysdba' Testuat3 SQL> alter system set cluster_database=FALSE sc...