I'm using this code:
numbzip=`ls *.plt.zip | wc -l` &>/dev/null
and trying to get rid of the output in the command window.
No files ending on .plt.zip exist so it comes back with:
ls: cannot access *.plt.zip: No such file or directory
whatever I try it always writes this line in the command window.
I tried:
numbzip=`ls *.plt.zip | wc -l` >/dev/null 2>/dev/null
numbzip=`ls *.plt.zip | wc -l` >/dev/null >>/dev/null 2>/dev/null
Regards, Wilco.