this post was submitted on 13 Aug 2023
149 points (94.6% liked)
Linux
48372 readers
1789 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ctrl+R to search your bash history. I hate how long I went without knowing this, so I've always got to spread the word about it.
Jfc.....I've been using Linux for almost 2 decades.....and TIL
if you use zsh, typing the first part of the command and then using the up arrow searches through the history for commands with the same starting characters
This one I knew, but only because I accidentally tapped up instead of right one time
I think I've learned and forgotten that tidbit a couple of times. It's something that I need to do seldom enough that when I finally do, I don't remember the keybind .
Didn't take me that long, but I had a similar reaction to learning about it haha
smfh the more you know, the more there is to learn eh?
Press the up arrow over and over until you find the command. This is they way!
77 times then 78 then 79 for the 3 commands you are looking for you ran consecutively 5 weeks ago
Huh.. Always just piped the history command through grep
Also press tab to auto complete the current word (works as soon as you've typed enough characters to eliminate ambiguity)
Wow! On Fish, it brings up a whole search bar with a colored grid of results and tab to select and fuzzy finding. This is cool!
Believe thrt is from fzf so can be enabled on zsh too.
and Ctrl + L is the same as
clear