Ask Slashdot: Command Line Interfaces -- What Is Out There?
Mars729 writes "GUIs are walled gardens in that features available in one piece of software is not available to other pieces of software. However, there is software out there with command-line options that can make software features accessible to power users and programmers. Some important ones I have uncovered are:
- Exiftool: A command-line application that can read/write almost any kind of metadata contained in almost any filetype
- Imagemagick: This and similar software like GraphicsMagick is a full-feature toolkit for displaying, converting and editing image files.
- Irfanview: Like Imagemagick but faster, although it has much fewer features.
FFMpeg: For video files - VLC: For audio and video files
- Aspell: A command line spell checker
- Google Static Maps API: A URL with coordinates, markers, zoom levels and other options to show a custom map from Google Maps. (I just uncovered this: no need to learn KML!)
Less useful but still useful are command shells. These provide file management mostly. I believe some of them may allow for sending and retrieving email messages. Also useful but less accessible and with a steeper learning curve are software with APIs and scripting. Examples would be Visual Basic for Applications in office software and groovy scripting for Freeplane. What else is out there?"
This isn't worthy of being a story, we all grew up using command lines.
Quoting the summary:
Less useful but still useful are command shells. These provide file management mostly. I believe some of them may allow for sending and retrieving email messages.
Yes, my head just exploded. Please pardon the mess, aggressive renovations are in progress. I'm absolutely awestruck that this made it to the front page of /., and suddenly feel extremely old at 32.
In short, if you are experiencing a lack of flexibility with GUIs, which is a completely normal response in my book, please proceed to install your favorite Linux/BSD/Whatever-nixish distribution and learn to use the following:
I really, truly, honestly, brain-explodingly do not know what else to say here. Holy crap.
Write failed: Broken pipe
I'm sorry, is this a joke? The Windows command line - even with powershell - might be a crippled joke, but the unix command line allows you to control *everything* going on in the OS itself and most features of whichever Desktop you're using. Plus the ability to pipe commands together creates a level of poweruser control that is far greater than the sum of its parts. Something Microsoft took 2 decades to realise and a paradigm that a lot of Windows admins still don't "get".
"GUIs are walled gardens in that features available in one piece of software is not available to other pieces of software.
Never mind it should be "are" not "is", under what circumstances would you ever be surprised that the features provided by Excel are not available in PhotoShop... with the exception of cut/copy/paste?
Did I miss a meeting where meretricious twaddle on this site became de rigour?
Maybe I should resign my ID...
This sig left unintentionally blank.
Obviously the submitter didn't grow up with a unix background, as lots of people here have. And now I see lots of people asking what the hell submitter is thinking, "is this a joke", "not worthy of a story" et cetera.
But think about it. Submitter came from a GUI background and now discovers the commandline. I'm thinking back when I started with Linux, feeling totally amazed about so much utilities, so much power and I kinda envy the submitter :)
So give it a rest and just chip in.
8 of 13 people found this answer helpful. Did you?
Setting aside the fact that this statement makes no sense, I suspect it was crafted around using the term "walled garden" in a misguided effort to establish nerd street cred. Mission failed.
Out of all of the CLI based software the submitter could have chosen, the selection demonstrates that they are neither a power user or a programmer.
Holy fuck. Seriously? What I am supposed to run my CLI based software in to begin with. Never mind everything else about a shell that runs deep.
The bullet points caught my eyes first, I knew right away it was going to be bad, but this? This article making the front page is an insult to the majority of Slashdot's user base and an affront to our intellect and skill sets. Also, it reads like it was written by a second-grader.
Brought to you by Carl's Junior.
cli is amazing and it would be apparent if some of the 'omg did he really just say that crowd' helped out newbies instead of ranting
What? If you want to learn then it is up to you to learn. You clearly have access to the internet, and time to waste on slashdot. You should be using your time to learn rather than complaining that someone isn't teaching you.
If you want to learn something then ask a specific question. "Teach me about command lines" is a useless request because the answer will take years and no one will want to spend that much effort teaching you anything if you can't be bothered to make the effort to teach yourself anything.
The elitists are out in full force today. Ya the submission is nothing new to many of us but instead of ripping submitter a new one why not share your knowledge with him. Back in 97 I bought Oreilly's Linux in a Nutshell reference book. That book is still on my desk today, beaten up an tattered but sill useful.
Happy New Year fellow neckbeards! ;-)
Powershell was designed to market Windows server, providing something that looks familiar to Unix/Linux admins. It's by no means a replacement for VBScript. (Which is *not* the same thing as VBA.) VBScript, being COM-centric, is uniquely suited to accomplishing all sorts of tasks on Windows. It just happens to be getting "deprecated" as part of Microsoft's overall strategy: They want to attract people to Windows server while converting "civilian" Windows into virtually a kiosk OS.
Sorry, BS. PowerShell is a foundation technology in Windows, unlike VBScript. Since Windows 7, the troubleshooting packs are actually written in PowerShell! The troubleshooting utilities are automatically launched by the system when e.g. network problems occur.
PowerShell is every bit as COM capable as VBScript. PS uses a "unified" type system where multiple object models (COM, .NET, WMI etc) are surfaced as common PS objects.
VBScript is definitively legacy (and deprecated). I will actually wager a bet that there is not a single meaningful VBScript that could not be written shorter and more elegant with PowerShell.
Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
Hairyfeet, back at ya.
I moved to Linux because from Mac OS X *because* of the command line. It is a first place citizen. You can expect almost all programs on it to support commandline options and such.
OSX is based off BSD now, so there are plenty of command tools available to you. All your basic linux commands work in OSX as well as several additional useful OSX command tools that just don't exist elsewhere. I frequently run command line scripts to configure OSX and install numerous pieces of software on several Macs. You can also install Fink, or MacPorts, or Homebrew to install plenty of additional useful software. It's all there if you learn how to use OSX on the command line.
Windows also has a command line, and the vast majority of Windows software can be installed on the command line. There are many useful command line utilities that vastly speed up setup of the a windows system. You could also install cygwin if you really want unix style commands. With powershell, there's less of a need to have cygwin. In a Domain, you can use group policy to manage numerous systems, but that's not available if you're not in a domain. If you manage systems not in a domain, or before you join it to a domain, you can do just about everything on a local trusted network with command line tools in a batch file script or powershell.
Many people think of Windows or OSX as GUI only, or mainly, have never really sat down to find the command line way of doing it because the GUI was always there as a crutch. The GUI was so well done that they never bothered seek out the command line. On linux, the GUI came much, much later. In the beginning, some of the linux GUI, like the early SAMBA config GUI that wiped smb.conf, was quite broken. There's still work to be done with the GUI.
Don't mistake a useful GUI for lack of a command line on OSX or Windows. It's all there and you've just never learned to use it. The linux GUI is not as well designed and still needs more work to get to where Windows and OSX are. That's probably why most linux users are still going to the command line. Eventually, that will change and it will mainly be sysadmins and certain power users that do any command line on linux as well.
Not a problem...
"National Security is the chief cause of national insecurity." - Celine's First Law