Bash Shell Script Function Examples - nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Form

Bash Shell Script Function Examples - nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Form

瀏覽:1396
日期:2024-04-24
Bash shell script examples - includes local variable, exporting and make shell function readonly. ... fun1(){ x=100000; echo " In fun() x = $x " ; } fun2(){ y=200000; echo " In fun() y = $y " ; } x=100 ; y=200 echo "before calling d fun1() x=$x" echo -e $...看更多