The below code snippet shows how can call simple shell script function.
shell script name : simple_function
#!/bin/ksh
simple_function_call()
{
echo -e "Hello World!"
}
simple_function_call
Output :
-bash-3.2$ sh simple_function
Hello World!
-bash-3.2$
simple_function_call is the function name we can call the function simply call by function name like simple_function_call
Note : In generaly shell script function is worked bottom up aproach. dont specified any argument in the function delcaration statement.
A Language is not worth knowing unless it teaches you to think differently.
Subscribe to:
Post Comments (Atom)
Oracle EBS R12 – Query to View Consolidated Invoice Details with Individual Transactions
SELECT hp.party_name AS customer_name, aca.account_number AS customer_account, hci.cons_billing_num...
-
1. To download Ldt file for a Concurent Program FNDLOAD [username]/[password] O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_nam...
-
The profile information available in the HZ_CUSTOMER_PROFILES can be created in three levels namely Party, Customer Account and Customer...
-
Here the article will describe about how to register WebADI to Responsibility menu Go to System Administrator --> Security --> Respo...
No comments:
Post a Comment