this post was submitted on 21 Nov 2023
872 points (97.5% liked)

linuxmemes

21057 readers
1208 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • 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
    [–] monsterpiece42@reddthat.com 6 points 11 months ago (2 children)

    I like the terminal but don't remember all the arguments. I find that clunky. That's my main issue with it. (I'm open to suggestions if anyone has any)

    [–] Nalivai@discuss.tchncs.de 2 points 11 months ago* (last edited 11 months ago) (1 children)

    I highly recommend zsh. It takes a moment to setup initially, but you can use oh-my-zsh to just skip that part and use one of the many, many presets, and it supports plugins, of which there are many. It gives you tab support for so many popular commands, you will never need to remember them, and it has a lot of small improvements that makes your terminal life a breath. For example, if you do cd tab in bash, it will give you a list of subdirrectories. If you do the same in zsh, it will give you that list and a cursor that you can use to navigate said list, so instead of typing the dir, you can do cd tab tab tab enter

    [–] Based_and_Cool@lemmy.dbzer0.com 2 points 11 months ago (1 children)

    For someone that doesn't like the cli, I'd recommend fish instead of that as it just works with no setup.

    [–] Nalivai@discuss.tchncs.de 3 points 11 months ago* (last edited 11 months ago)

    I have very little experience with fish, but by my first experience zsh was way better at handling wildcard matching, and for me it's half of the stuff I do. You are trying to open a file and all you remember is that it has some substring in the name probably, you just type some of it, double tab, and you have all the files that match. At the time I was trying it, fish couldn't do it.

    [–] zalgotext@sh.itjust.works 1 points 11 months ago

    Lots of terminal commands come with tab-completion out of the box (start typing a command, hit tab to autocomplete, hit tab twice to bring up a list of available options), or have tab completion scripts you can install after the fact.

    Lacking tab completion, any worthwhile terminal commands will at least support a -h/--help flag that will print out a help menu summarizing the different options, or you can open up the man pages to see even more detailed documentation with man [whatever terminal command]. If the terminal command doesn't have either of those, I'd recommend against using it.