I am trying to execute ls
after opening a new Guake tab and logging into postgres
.
guake -n guake -e 'sudo -i -u postgres && ls'
The command successful opens a new tab then prompts me for my password and logins into postgres
, but it does not execute ls once in postgres
.
How can I achieve this?