how did the devil know Peter and no other Apostle was to take over the leadership ?
Luke 22
31 And the Lord said, Simon, Simon, behold, Satan hath desired to have you, that he may sift you as wheat:
32 But I have prayed for thee, that thy faith fail not: and when thou art converted, strengthen thy brethren.
John 21
Peter to lead the church when Jesus gone
14 This is now the third time that Jesus shewed himself to his disciples, after that he was risen from the dead.
15 So when they had dined, Jesus saith to Simon Peter, Simon, son of Jonas, lovest thou me more than these? He saith unto him, Yea, Lord; thou knowest that I love thee. He saith unto him, Feed my lambs.
16 He saith to him again the second time, Simon, son of Jonas, lovest thou me? He saith unto him, Yea, Lord; thou knowest that I love thee. He saith unto him, Feed my sheep.
17 He saith unto him the third time, Simon, son of Jonas, lovest thou me? Peter was grieved because he said unto him the third time, Lovest thou me? And he said unto him, Lord, thou knowest all things; thou knowest that I love thee. Jesus saith unto him, Feed my sheep.