问题一:提示“-bash: /home/postgres: is a directory” bash
解决:1)无视提示,切换为postgres用户 post
2)编辑配置文件($vi ~/.bash_profile),删除文件中多余的“~”(系统默认的“~”是蓝色的,引发错误的是白色的) spa