this post was submitted on 01 Jul 2023
698 points (100.0% liked)

linuxmemes

20875 readers
677 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
 
(page 2) 45 comments
sorted by: hot top controversial new old
[–] veng@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

history | grep {some part of command}

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

[–] mazkarth@lemmy.world 2 points 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.

[–] bappity@lemmy.world 2 points 1 year ago

no I don't want to write the single word command out again I'd rather go up the history with more keypresses

[–] voidf1sh@lemm.ee 2 points 1 year ago (3 children)

Fish finally broke me of this habit, and now it's one of the first things I install on any system

[–] smorks@lemmy.ca 2 points 1 year ago

another happy fish convert here too!

[–] CannedYeet@lemmy.world 2 points 1 year ago

One of the top reasons I use fish is that I never learned how to cycle through the results of ctrl+r in bash

[–] Zaphodquixote@sh.itjust.works 0 points 1 year ago (2 children)

Fish? Please enlighten a casual user

[–] voidf1sh@lemm.ee 1 points 1 year ago

Fish Shell - Friendly Interactive Shell. It has tons of themes and customizable prompts, but most importantly it scans through your command history and autocompletes previous commands. You can even to back through previous versions of a certain command for example I copy a couple different files a lot so I'll type 'cd' then press up to get to the specific command I need. It'll also autocomplete command names if they're in the path. It's a life changer for sure

[–] cyanarchy@sh.itjust.works 1 points 1 year ago

Friendly Interactive SHell. I also use it, and I find some of the extra features delightful. I don't think it's POSIX compliant if you're one of the two dozen people who have to worry about that for your use case.

[–] meisme@lemmy.world 1 points 1 year ago

The command is ls

[–] lhx@lemmy.world 1 points 1 year ago

I feel this in my soul. Or when you realize you're hitting up up up up to find something trivial like ls and it would have been more efficient to just type ls. LOL.

[–] open_world@lemmy.world 1 points 1 year ago (2 children)

I try to avoid the terminal as much as I humanly can because of ergonomic issues like this.

load more comments (2 replies)
load more comments
view more: ‹ prev next ›