• 17 Posts
  • 298 Comments
Joined 5 年前
cake
Cake day: 2021年1月15日

help-circle







  • Sorry for being silly here, I’ve been kind of out of the loop with recent technology, what exactly is “passkeys”? I remember reading something when it was announcement, but all I saw was lots of buzzwords and vague “it’s new and it’s very good” claims.

    Is it like, an alternative authorization method? Is it a second factor after I type my login/password, or does it replace passwords? What does it look like, from users perspective?












  • vort3@lemmy.mltoLinux@lemmy.mlCurate your shell history
    link
    fedilink
    arrow-up
    29
    arrow-down
    1
    ·
    edit-2
    3 个月前

    I comment the commands that I want and then use vim to remove ones without comments.

    For example, I run:

    longandannoyingcommand -f1 -f2 -f3 # keep, does something useful
    

    Usually comment explains what the command does so I can find it by description using fzf history search. And then you can easily find all lines that contain (or do not contain “# keep”) in your history to remove or keep.