Guilty. Even knowing better ways laziness wins. Skyrim console too.
linuxmemes
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!
cat .bash_history | grep keyword
But yeah pretty much.
You know you don't actually have to do cat 😂. But yeah, I know, I do it as well 🤣.
This speaks to me more so for SSH, which I guess is the same…. But yah.
no I don't want to write the single word command out again I'd rather go up the history with more keypresses
Since this post triggered hidden gems: ^old^new
will substitute old
with new
from the last command and execute.
Me when configuring a switch.
I'm not proud to admit how long I spent as a SysAdmin before starting to use ctrl+r and just typing a search term.
esc + k
for me!
(vi for life)
i'm in this photo and i love it
Easier to type history
then !xx
where xx is the number of record in history.