I am using the following command from command line to check compiler state in magento2.3.2
php -f shell/compiler.php -- state
I found this in the following url
But I am getting an error while running the command
Could not open input file: shell/compiler.php
I know it has something to do with file paths but could not understand what, please let me know what changes I shall make to make it work.