Bash jobs on function -
i'm trying jobs ldap research in loop to more 1 1 searching. in loop, i'm using function i'm sending parameter search. i'm trying lot of things script still not create job still taking lot of time in execution. possible job function in bash script?
search () { user=$(ldapsearch $1) if [[ -n $user]] echo "ko" fi } line in file.csv; search $line done
i found solution using big ldapsearch , parsing result behind grep , sed using loop increment counter , display error not maching if
Comments
Post a Comment