Search accounts in your database - binbash23/p GitHub Wiki

After you have added or imported your accounts into the p database, you may want to search for them. You can use the "search" command or the shorter version of the command "/" followed by the string you are searching for. In this example we will search for any account containing "email" in any field:

[p.db] pshell> /email
Searching for *email* in 1 accounts:

UUID            : 35e92e97-a296-4f7b-ae49-ad33b4a1f1c3
Name            : email account
URL             : 
Loginname       : peter
Password        : secret
Type            : Email
Connectortype   : 

Found 1 result.
[p.db] pshell>

After you have found the account you may want to copy the password:

[p.db] pshell> sc email
Account   : email account
Clipboard : Password
[p.db] pshell> 

Now the password "secret" is copied and you can paste it anywhere into a website for example.

Maybe you also need the url and the login to be copied, you can use the "sca" command ("search copy all")

[p.db] pshell> sca email
Account   : email account
Clipboard : URL
<Press enter>
Clipboard : Loginname
<Press enter>
Clipboard : Password

First, the URL of the account will be copied and then after you have pasted it into a website or so, you press ENTER and then the Loginname will be copied and then after another ENTER the pasword will be copied.