I wrote following line in my script , but it not assigning any value to variable a
a= grep -n mark /etc/samba/smb.conf |cut -d: f1
I aspect line number where mark string present in smb.conf in variable a. But value of variable is null. What may be the issue