1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-09 12:05:59 +02:00
tldr/pages/common/lpass.md
Managor d2e6da7679
common*: refresh old pages part 7 (#16290)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-05-01 14:38:45 +03:00

609 B

lpass

Command-line interface for the LastPass password manager. More information: https://lastpass.github.io/lastpass-cli/lpass.1.html.

  • Log in to your LastPass account, by entering your master password when prompted:

lpass login {{username}}

  • Show login status:

lpass status

  • List all sites grouped by category:

lpass ls

  • Generate a new password for gmail.com with the identifier myinbox and add to LastPass:

lpass generate --username {{username}} --url {{gmail.com}} {{myinbox}} {{password_length}}

  • Show password for a specified entry:

lpass show {{myinbox}} --password