Hi all,
I'm trying to concatenate two command in one line.
Below are the commands;
Code:
ls $variable || grep -i / credit card
if grep "credit card" *.tmp
then ... fi
* variable ="/portal/apll/nad/send"
i wanted to list all files in /portal/apll/nad/send and grep only .tmp files that contains credit card word.
anyone can please guide me on this?
thanks in advance.