Question: How to download list of compounds from pubchem database using command line
You can check
The above links should work for you for the work you want to do.
A simple google search does not hurt , it only enriches your data mining skills. We are here to guide and also impart learning so that you can help others in future.