How to open a Database using Unix Command Please Do Reply

Answer Posted / arvind kumar

Sudo -U Postgres psql Database_name;
It will prompt you for password give correct password and
you can access the given database if it exist.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sed command do in unix?

657


Is command prompt unix?

681


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

679


What is the use of awk command in unix?

654


What is $0 bash?

749






What will the following command do?

697


What is the comma to display different lines that are found when compare two files?

688


Enumerate some of the most commonly used network commands in unix?

707


What is unix command line?

705


How do I use nslookup?

658


What is the first character of the output in ls l command?

729


What do know about tee command and its usage?

703


What is the use of the command 'ls -x chapter[1-5]' ?

768


What's a command word?

677


how to sort the content of the file based on numeric values

1375