I have no idea why I can't get this to work, if anybody can help i would appreciate it.
#!/bin/bash
x=`cat counter.txt | wc -l`
y= '$x / 7'
printf "%d People have visited this page" $y
I have no idea why I can't get this to work, if anybody can help i would appreciate it.
#!/bin/bash
x=`cat counter.txt | wc -l`
y= '$x / 7'
printf "%d People have visited this page" $y
You may go over bash's syntax.
Welcome to 《樱桃视频影院在线æ’放下载》电视剧-高清完整版在线观看 - ä¾ å®¢ç”µå½±ç½‘
Try this :
echo "$(( $(wc -l < counter.txt) / 7 )) People have visited this page"