LinuxCommandLibrary

lpass

lpass

TLDR

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

$ lpass login [username]
copy


Show login status
$ lpass status
copy


List all sites grouped by category
$ lpass ls
copy


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]
copy


Show password for a specified entry
$ lpass show [myinbox] --password
copy

Copied to clipboard