{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » Bash Programming sh DataCapture
Bash Programming sh DataCapture
#!/bin/bash
cd /home/sumenep/master/0328SumenepTobys/DataCapture/;
jumfile=`ls | wc -l`;
dataref=1;
echo “$jumfile”
if [ $jumfile -gt $dataref ]
then
echo “Nilai A > Nilai B”
else
echo “Nilai A == Nilai B”
fi
Filed under: 7. Operating System