0

I am getting output and I have to press spacebar after one page of output, I want to get rid of that, how can I and which option I have to enable.
By automatically, how can I automatically execute all commands saved in a file when I logged in psql via terminal?
Thanks in advance.