• veng@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    history | grep {some part of command}

    Much more useful for going further back, even without grep.

    • mazkarth@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      As some one who SSH’s from a phone to run Docker containers and will be moving the container volumes to a different location, I thank you for this lovely command.