Delete table from postgresql using shell script

Hi,

I need help to Delete table from postgresql using shell script. Anyone know about it?

Thanks

Regards,
Sajjad

Yeah use -c option in psql command.

refer -c option here
PSQL man pages : psql (1)

 -c query

       --command query
	      Specifies that psql is to execute one query string,  query,  and
	      then exit. This is useful in shell scripts.