this post was submitted on 17 Oct 2023
1098 points (98.8% liked)
linuxmemes
20952 readers
549 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- 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
view the rest of the comments
id type out
more ~/.bash_history | grep ls
and copy, paste before id type outls
tbhWhy do all that typing? Hit ctrl-r first then type ls. Bonus points if you hook fzf into it.
fzf hooked into ctrl-r, a bash history of about 100k and HISTCONTROL=ignoreboth is magic.
Note: backup your history file periodically, system crashes at the wrong time can zero it leaving you incompetent until it's restored.
Pretty sure you just got wooshed...
This whole post is ridiculous, idk if its possible to get whooshed in here.
Yeah it's ridiculous. That's the woosh. The statement was "I'd type
more blah piped to ls then copy and paste
before typingls
"It's absurd. It's obviously absurd. If you didn't pick up on that, you got wooshed
Probably, but I'll spread the good word anyway.
at least you avoided a "useless cat" by using "more" instead. Respect Bro!
Useless use of
more
You can pipe it to wl-copy, and then when you need it all you need to type is wl-paste