this post was submitted on 23 Nov 2024
793 points (89.3% liked)

linuxmemes

21570 readers
542 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!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS
    793
    submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] -3 points 3 weeks ago* (last edited 3 weeks ago)

    A simple analogy is, would you rather have keyboard with a-z and symbols you can use to build words/sentences, or would you want a wordlist you can scroll and click, while expanding words in groups, and having to find non-frequent words with a lot of difficulty to make up sentences.

    Command line use is harder if you come from gui. But the main use case of command line are:

    • automation: anything you can do in a command line, can be copied in a script,
    • uniformity: every software now has almost the same format of use,
    • flexibility: gui almost always has less options than command line, and many times options are hidden within a lot of tabs and options.
    • Auto complete: whenever someone complains about terminal being hard to use and spelling mistakes I think about this. I think many people that come from GUI don't know about auto-completion on terminal. It's easy to see which options are available, easy to choose files, wildcards for multiple files, and all that
    • piping: command line allows you to chain one command with another. You have a command to list all your music files, chain that with a search command to search files within them. Now if you need to search in a python code, you use the same search command, just different command to read the file. You basically have lego blocks (old ones) that can be used to make anything.

    I can understand people being afraid of command line when they start, but I think many people come with biases and don't use good terminal and other tools to make things easier.