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

Write a command to kill the last background job?

622


What is the command to find maximum memory taking process on the server?

674


What is the command to view process running?

578


What is awk used for?

624


How do I search for a file in unix command?

551






Are you in or at the office?

612


What is difference between grep and find command in unix?

583


What does pipe () return?

599


What will the following command do?

621


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

593


How does the system know where one command ends and another begins?

1582


Describe the zip/unzip command using gzip.

615


What is the unix command to confirm a remote host is alive or not?

590


How do I run a bash script?

588


Name the general commands in using unix os for a beginner?

625