Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8979151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:46:57+00:00 2026-06-15T19:46:57+00:00

I have looked at the majority of Command Not Found errors with Postgres and

  • 0

I have looked at the majority of “Command Not Found” errors with Postgres and none of them are similiar to what I am running into. On my server Postgres is running effectively, as I can log into an individual database with no issues; however, when logging into the server as user postgres to run commands such as \list or create new databases I get the following error:

-bash-4.1$ \list
-bash: list: command not found

Any ideas as to why this is happening. When I was trying to troubleshoot this I thought I might be in the wrong directory so I ran pwd and this is what I get:

-bash-4.1$ pwd
/var/lib/pgsql

Any help is greatly appreciated. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:46:58+00:00Added an answer on June 15, 2026 at 7:46 pm

    \list is no bash command, but from the command/output you posted it looks you are tryin to call it directly from within bash.

    First run the psql command, when you have you should have an interactive session with it. There you should be able to use the \list command. You can read more about this here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have looked but have not found a specific answer for changing just one
I have looked thoroughly, but I have not found the solution (or perhaps I
i have looked through other related questions but none of them giving me right
Have looked at all the posts on here and none of them are fixing
I have looked in the standard library and on StackOverflow, and have not found
I have looked on here and found a few examples but nothing works so
I have looked into all the suggested articles and they seem to address the
I have looked everywhere, but have found nothing that is right for what I
I have looked at several implementations, and have not been successful at getting any
I have looked into both. Would like your suggestions as to which one is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.