2015年7月11日 星期六

Return value from function in shell script -- bash

Note the method to get the return value from function in shell script (bash)

#!/bin/bash 
#function 
func()
{
     num=100
     echo ${num}
}

# main 
res=$(func)    # Execute the function -- func and then get the return value


How to pass your CEH v11 exam quickly ?

1. You must buy the old CEH v11 exam under the online shopping platform. such as shopee. Select the 1st SEO buyer.  2. Create the practice t...