magento 2 reindex from admin,magento reindex not working,magento 2 reindex cron,magento 2 reindex code,magento 2 cron not reindexing,magento 2 reindex without ssh,magento 2 product not updating,magento reindex ssh

i was facing an issue that i was not able to do reindexing in magento 2. After google I get the solution that We can reindex with shell command

php dev/shell/indexer.php reindexall

But it’s giving error

Could not open input file: dev/shell/indexer.php

As I can’t see shell folder within dev.

after some research i found this below solution

fire this command from magento root via terminal

reindex all : php bin/magento indexer:reindex

reindex perticuler : php bin/magento indexer:reindex indexer_name

Where indexer_name Should be