Hello, people!
I have finished the WorldCup Certification Project and I’m trying to run the command:
pg_dumb -cC --inserts -U freecodecamp worldcup > worldcup.sql
It says to run it on a bash prompt, but when I ran it I get the following message:
bash: pg_dumb: command not found
The worldcup.sql file is created even after this return. I don’t know what to do. Could someone help me with this?
Obs: I’m on the camper: /project$
folder
Hello @wilsond_barbosa
The command should be pg_dump
instead of pg_dumb
As a side note, the >
output redirect is that which will create a file, regardless if the command is not correct, that’s why you should had seen an empty worldcup.sql file.
Example:
⤺ ~
⤻ cd test_play/
⤺ ~/test_play
⤻ ls
⤺ ~/test_play
⤻ badcommand > good.file
-bash: badcommand: command not found
⤺ ~/test_play
⤻ ls
good.file
⤺ ~/test_play
⤻ cat good.file
⤺ ~/test_play
1 Like
lol, you are completely right, I wrote dumb… Jesus! Sorry for the typo. Guess I was the dumb one haha
thanks!
1 Like