Periodic Table Database: can't resurrect my psql dump

I’ve been working on the Periodic Table database project. I can usually bring back the Postgres database with this line

psql -U postgres < periodic_table.sql

Doesn’t seem to be working this time around - maybe because I went back and did some older lessons to refresh myself on grep. I saved copy of the periodic_table.sql file that should have most of the changes I need to make – any way to load that in via copy/paste?

Never mind, copy pasting into the sql file in the directory and then running the command worked. For some reason it didn’t work when I tried a few times before that.