That code not running well

for ip in ‘seq 2 254’; do
ping -c 1 $1.$ip | grep “64 Bytes” | cut -d " " -f 4 | tr -d “:” &

The result for that code should be shown all IPs for up running machines

But the current situation show this error message:
ping: 192.168.1.seq: Name or service not known

Note: That code i am running on KALI system.