Taking a count of all files listed in a diirectory
=================================
#! /bin/ksh
cd /home/manu
for i in `cat file1.txt`
do
echo "$i" | cat $i | wc -l
done
=================================
#! /bin/ksh
cd /home/manu
for i in `cat file1.txt`
do
echo "$i" | cat $i | wc -l
done
1 comment:
It was very nice article and it is very useful to Linux learners.We also provide Linux online training
Post a Comment