Slashdot Mirror


Has the Command Line Outstayed Its Welcome?

dgharmon writes "The Command Line Interface has its uses, acknowledged Mobile Raptor blogger Roberto Lim, but no piece of technology targeted at the consumer market should ever require that something be done via CLI, he says. Keep it as an option or you can take it out all together. 'If it is there, it should just be there for the IT people or tech support to use when you encounter a problem.'"

30 of 1,134 comments (clear)

  1. really?? by Anonymous Coward · · Score: 5, Insightful

    Guy is a fucking moron. Thats all.

    1. Re:really?? by TehNoobTrumpet · · Score: 5, Insightful

      Why would any end user care at all about the CLI? They want an easy to use interface, and a CLI is exactly not that, especially in the realm of mobile apps, possibly the largest growing sector of software development these days

    2. Re:really?? by xystren · · Score: 5, Insightful

      I normally don't agree with AC, but I think this one hit the nail on the head.

      Why is the command line interface still there? Simply because the GIU is lacking that particular feature. I'm also much faster on a keyboard than I am with a mouse/GIU. Sure, when GUIs are able to do what the command line can, then perhaps there may be a reason to phase it out - but until that happens, keep it there. Simply, if you don't want to use the command line interface, then don't. Pretty simple if you ask me. Just because you don't like it, don't call for it's assassination.

    3. Re:really?? by NFN_NLN · · Score: 5, Insightful

      I was going about my day until I read this article. Then I had to login to Slashdot just to flame this article.

      The #1 desktop OS finally, after years of being predominately GUI only, caved into CLI with powershell. They are now moving in the correct direction and this guy NOW believes a CLI is useless for regular users?

      Lets not forget who dominates the computer scene; computer nerds. I could walk grandma through screens of settings... OR I could just send a CLI script to check and/or set any options. Scripting and automation alone make CLI indispensable. And don't think end users won't be using these scripts to simply tasks. They may not be writing these scripts but they sure will be using them!

    4. Re:really?? by bleedingsamurai · · Score: 5, Insightful

      Why care about the command line? Because it is a whole lot easier then getting carpal tunnel clicking fifty different things when I could just type a couple commands and get the job done.

      Just because non-technical users are afraid of a particular interface does not mean you rip it out. After all, distros like Ubuntu, Debian, Linux Mint, Fedora, RedHat and I'm sure plenty of others make it very easy for Joe User to get his computing done.

    5. Re:really?? by Culture20 · · Score: 5, Insightful

      Guy is a fucking moron. Thats all.

      No, there's more to it than that. Roberto Lim is essentially saying "I never use an electric screwdriver when I need to open my TV remote, so no one except professional contractors should be allowed to use an electric screwdriver." Yes I do happen to be an IT professional, but I use command line loops for a lot of useful batch processing that "ordinary users" would love to use if they bothered to spend the time to look past the GUI.

    6. Re:really?? by zill · · Score: 5, Insightful

      but no piece of technology targeted at the consumer market should ever require that something be done via CLI

      He didn't say "CLI is useless". He didn't suggest taking out CLI. He says nothing should ever require CLI.

      If something requires CLI to work, it means every single user must type in at least one command on the CLI for the device to function.

    7. Re:really?? by Nutria · · Score: 5, Insightful

      Exactly.

      Ripping DVDs into ISO format is perfectly suitable for a GUI like brasero, because it's so slow.

      But transcoding dozens -- nay, hundreds -- of episodes of TV shows is simplified by the liberal use of bash, control structures, variables, at(1) and handbrake-cli.

      --
      "I don't know, therefore Aliens" Wafflebox1
    8. Re:really?? by marcosdumay · · Score: 5, Insightful

      Let me se:

      1 - Google gives me a prompt;
      2 - I type something;
      3 - Google interprets and show the results;
      4 - Google prompts me again.

      Ok, steps 3 and 4 are somewhat merged, but all of them are present. What is the difference, really?

    9. Re:really?? by tragedy · · Score: 5, Insightful

      I would say that a pretty large percent of Excel usage involves mis-using it as a database program instead of a spreadsheet program.

    10. Re:really?? by Yobgod+Ababua · · Score: 5, Insightful

      Maybe you want to edit 40,000 photos to reset their aspect ratio and resolution, and add a flat color border.

      The CLI command to do this is easy. Clicking on multiple menus 40,000 times is not.

    11. Re:really?? by msauve · · Score: 5, Insightful

      "A CLI requires a very specific (typically very unforgiving) format"

      That "I" in "CLI?" It stands for Interface. You're confusing the interface with the application.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
  2. Oh, this won't end well... by pushing-robot · · Score: 5, Insightful

    Mod headline -1, flamebait.

    (and the summary is silly, as well—how many popular software products today actually require the end user to run terminal commands?)

    --
    How can I believe you when you tell me what I don't want to hear?
  3. Three words: by Orp · · Score: 5, Insightful

    No. Fucking. Way.

    --
    A squid eating dough in a polyethylene bag is fast and bulbous, got me?
  4. Do not post replies. by Joce640k · · Score: 5, Insightful

    Article = flamebait.

    --
    No sig today...
    1. Re:Do not post replies. by msobkow · · Score: 5, Insightful

      But we can fix the article's author. They just need to:

      apt-get install functioning-brain-cell

      --
      I do not fail; I succeed at finding out what does not work.
  5. GUI? by xlsior · · Score: 5, Insightful

    The GUI - Making easy things easier, and hard things impossible. (Seriously, there are still a lot of command line tools like sed and awk which are absolutely invaluable, with no real non-commandline alternatives)

  6. Is that even worth a discussion? by Anonymous Coward · · Score: 5, Insightful

    The light-switch is one of the end-user interfaces for electricity in the house. The wiring behind it is better left to the experts. It's dangerous for the non-initiated to fiddle with it.

    Same for the command line. Graphical user interfaces have become the de-facto end-user interface to modern computing devices, to information, to the Internet, etc. The CLI exposes some of the wiring behind it. No need for end users to mess with it or to have to understand it. It can be confusing for them or even dangerous.

    The sooner software developers realize this, the better it is for everyone involved.

    It may be sad that today's users are not introduced at the same level to the technology that many of us were decades ago, but that's the way things go. We don't expect to wire up our house ourselves, or build our own generators or electric engines. We shouldn't expect that a product for the masses should require in-depth knowledge or even expose an interface that is not really useful for every day users.

  7. Search (as most people use it) not CLI by SuperKendall · · Score: 5, Insightful

    CLI is the defacto interface for Google searches. People use it everyday and all day long. Nobody complains that it isn't intuitive.

    Typing in a few keywords is not CLI. That's just data input in response to a prompt.

    Using the more complex search modifiers does make it more like CLI use as you are driving behavior - but most people do not do that.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Search (as most people use it) not CLI by Anonymous Coward · · Score: 5, Insightful

      Google understands:

      y = 3x + cos x
      movies 12345 (or any zip code)
      light years in inches
      taco bell in los angeles ca
      valentine's day

      Building a GUI that does that, and can still find you cat pictures in an intuitive fashion without using the equivalent of a command line is just not going to happen. Yes, it takes a little effort to learn a command line but at some point a bunch of gestures, buttons, and drop down's just don't cut it.

    2. Re:Search (as most people use it) not CLI by PopeRatzo · · Score: 5, Insightful

      Typing in a few keywords is not CLI

      But typing in a filename is?

      The article is pretty moronic. The author seems to be saying "CLI should be there, but should be hidden." Well, it is pretty much hidden. Many users go through life completely oblivious of the command line. Hell, you have to go three or four deep in Windows just to find it (unless you've made a shortcut as I have). He goes on to say, "If the command line is going to be there, it should only be used by tech support". Or something. That's even stupider.

      How many people, sitting at computers today, got a computer to do one thing and found out they could do something else completely? I remember my first personal computer back in the 80's. I just wanted a word processor and today half my income is generated using a computer as a digital audio workstation. And I've had to use that CLI more than a few times getting here.

      There is such a desire by the elites to make personal computers just a shopping interface. It's when I think about that desire that I find myself being a lot less critical about "the dumb masses", because when it comes down to it, they want us dumb and will go to great lengths to keep us dumb. I have a lot less anger toward ignorant Mr and Mrs America sitting and watching American Idol and Fox News because the amount of money and energy and sheer brute force that's being exerted by the elite god-kings of our society to get those people to do that and stay ignorant is simply immense. Hell, there's a political party that shall remain nameless who has adopted a platform officially opposing the teaching of critical thinking skills.

      So...fuck 'em. Keep the CLI and stop being angry at the ignorant. To a great extent, it's not their fault. We should be decent to everyone, whether they're ignorant or they want CLI. In the former case, as I say, it's not their fault. And in the latter case, well, one uses the best tool for the job, no?

      --
      You are welcome on my lawn.
  8. Re:He's right. by pushing-robot · · Score: 5, Insightful

    My only issue (other than the inflammatory headline) is that these are lessons that were learned thirty years ago. Do we really have to remind developers that non-experts prefer point-and-click interfaces that elucidate the program's functions or that command lines are efficient and allow greater nuance?

    A GUI is to a CLI as gesture is to speech. One is multidimensional, pictorial, concrete. The other is unidimensional, verbal, abstract. Each has an advantage at certain tasks: Using a computer that only works visually is like trying to convey War and Peace through mime. Conversely, to a user untrained in a particular application, accomplishing tasks via a command line is like trying to have a meaningful telephone conversation with an aborigine.

    Which is better? I don't care—give me both, thank you very much. Visual interfaces are indispensable as they can display complex information in an intuitive and language-independent manner. But please give me an interface to talk to the application and string programs together with all the grammatical complexity of a command line.

    --
    How can I believe you when you tell me what I don't want to hear?
  9. Re:And what are you supposed to remotely?? by zenyu · · Score: 5, Insightful

    Rhetorical question: Have you ever tried to tell someone over the phone how to navigate around a GUI?

  10. Re:He's right. by webnut77 · · Score: 5, Insightful

    The command line is great for people that have memorized all the commands, know exactly what they want to do, and can run the operations in their sleep. But for everyone else it's a hinderence.

    How could this post be +4 insightful?

    If you have two screwdrivers in your toolbox but only ever use one, the unused one is NOT a hinderance. Others have a need for that 2nd screwdriver.

    Look, most people have working legs so all those wheelchair ramps are a hinderance.

    You should NEVER have to go to command line.

    Then a lot of what you can do with a program will never get coded in a GUI. Even Windows has regedit!

    Look past the end of your nose.

  11. actually, thats exactly what CLI is by decora · · Score: 5, Insightful

    please remind us where the word 'prompt' comes from... the 'bash prompt' or 'shell prompt'.

    you type 'key words' into it and get responses.

    why does it work? because its an anlogue of verbal communication. .. which humans have been doing for 10,000+ years.

    as opposed to 'poking square things that look like candy' which humans have been doing for 20 years.

    1. Re:actually, thats exactly what CLI is by SilverJets · · Score: 5, Insightful

      Just because you type words into a search box, that doesn't make it a CLI

      To call the Google search box inside a GUI object (like a web browser) a Command Line Interface shows complete and utter ignorance to what a CLI actually is.

      On a CLI you are actually issuing instructions (hence the words Commands in CLI) to the OS commanding it to do something. In a Google search box you are typing terms or key phrases to be used as parameters of a search.

  12. lol hilarious ignorance by decora · · Score: 5, Insightful

    since 99.9% of users will not have the permissions to start up an access database, and the "IT crew" will be too busy / underfunded to help them, they will revert to sharing Excel files on sharepoint.

    furthermore, since the vast majority of people in these corporations have never been trained in database stuff, and the company will not pay to train them, excel is something that is essentially something 'anyone can use' the basic features of and still kind of understand whats happening without much training.

  13. Re:Just what they want Linux to become ? by MrEricSir · · Score: 5, Insightful

    "These days"? Get real, Microsoft has NEVER had a consistent user interface across their applications.

    --
    There's no -1 for "I don't get it."
  14. Re:Just what they want Linux to become ? by bhcompy · · Score: 5, Insightful

    I would say from the release of Windows 95 to the release of Office 2007, they were pretty much within their own standard style guidelines for GUI more or less across the board. That would be 12 years, which is a fairly significant amount of time in the computing world.

  15. Re:Just what they want Linux to become ? by LordLimecat · · Score: 5, Insightful

    another M$-Windows-like kludge?

    Last I checked MS is pushing Server Core (aka GUI-less server install) and powershell everything.

    You were saying?

    PS: the registry isnt a bad idea, it just has a lot of cruft. Most anti-registry sentiment is based on ignorance.