mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 02:41:46 +00:00
30 lines
690 B
Plaintext
30 lines
690 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# lpass
|
|
|
|
> Command-line interface for the LastPass password manager.
|
|
> More information: <https://github.com/lastpass/lastpass-cli>.
|
|
|
|
- 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`
|