|
bash
#!/bin/bash -x export luis=bbb function lovers() { local luis=trend echo love $1 $luis} echo $luis lovers blind lovers echo $luis if $luis = "bbb" ; then echo sameelse echo difffi for i in seq 1 10; do echo $idone options="Luis Chua" #select opt in $options; do # echo $opt # if $opt = "Luis" ; then # echo Found # else # exit # fi #done if -z $1 ; then echo No Paramsfi if -n $luis ; then echo With Valuefi if $s1=$s2 ; then echo No problemfi echo $[1+2] echo 3/4|bc -l #echo Enter First and Last Name #read FN LN #echo Hi $LN, $FN ! #export -f lovers #./second.sh #grepping="ps -eaf | grep perf" #eval $grepping #echo $(pwd) #echo $(ls) echo $? |