this post was submitted on 01 Jul 2023
617 points (97.8% liked)

linuxmemes

20880 readers
5 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 1 year ago (1 children)

Or history | grep {command}

[โ€“] [email protected] 2 points 1 year ago

i have a alias for h which is history, then hg which does this and i can search my whole 52 thousand line history file and find anything i've ran