Slashdot Mirror


Windows to Have Better CLI

MickyJ writes "The command line interface to the Windows Server OS will be changed to the new Monad Shell (MSH), in a phased implementation to take place over the next three to five years. 'It will exceed what has been delivered in Linux and Unix for many years', so says Bob Muglia, a Senior VP at Microsoft." More from the Tom's Hardware article: "The language in Muglia's comment offers the first clear indication that WMI may be yet one more component being left behind, as Microsoft moves away from portions of Windows architecture that have historically been vulnerable to malicious attack."

18 of 742 comments (clear)

  1. Balls? by Grave_Rose · · Score: 5, Funny

    Unix have no Monads.

    Gr@ve_Rose

    --
    !ekoj on si aixelsyD
  2. Way to go! by Anonymous Coward · · Score: 5, Funny

    "The language in Muglia's comment offers the first clear indication that WMI may be yet one more component being left behind, as Microsoft moves away from portions of Windows architecture that have historically been vulnerable to malicious attack."

    1. Write complex management interface
    2. Shore up security holes over many years of use and testing
    3. Ditch for new immature code
    4. ?
    5. Profit!

    If they're ditching WMI it *won't* be for security reasons.

  3. Monad? Rather than... by dyfet · · Score: 5, Funny
    Because they couldnt get a full pair? I found the implications of the name too humorous to pass commenting on...

  4. It's about time by Anonymous Coward · · Score: 5, Insightful

    Microsoft ignoring the command line is just as silly as ignoring the Internet. It's only taken them longer to realise because only power-users and sysadmins are affected instead of every user.

    1. Re:It's about time by ILikeRed · · Score: 5, Interesting
      Don't forget about your example that Internet Explorer was not originally a Microsoft product:
      • They took the code from a project called Mosiac
      • They made a deal with a company called Spyglass to use their source code from Mosiac
      • The deal was for a small quarterly payment and a big percentage of sales of Internet Explorer
      • They screwed both Netscape and their partner Mosiac by giving it away for free - undercutting the competition and avoiding all royalties to Spyglass - putting them out of business also.
      So maybe they just could not find any BSD based CLI or naive proprietary company to screw out of a good CLI? You have to admit though - that is quite some business innovation - Bill's pure genius at it's best. I heard Spyglass finally got a few million out of their lawsuit. It just amazes me that people don't remember these things.
      --
      I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress -J Adams
  5. Next Slashdot Headline by sammykrupa · · Score: 5, Funny

    Next Headline on Slashdot:

    Microsoft Pushes Back Longhorn Until 2008 Over New CLI and Changing of "My"

    1. Re:Next Slashdot Headline by justforaday · · Score: 5, Funny

      I just really hope there will be an icon on the Start menu labeled "My Command Prompt"

      --
      I'll turn into a supernova and burn up everything. Well I'll turn into a black little hole and you'll turn into string.
  6. So Apple IS faster.... by Anonymous Coward · · Score: 5, Funny

    They change their entire platforms over 2 years, and MS will spend 3-5 years changing the default shell? :p

  7. Re:vaporware by HyperChicken · · Score: 5, Informative

    It's not "vaporware"; It actually exists. You can get in on the beta for free.

    http://channel9.msdn.com/wiki/default.aspx/Channel 9.MSHWiki - How to sign up

    --
    Free of Flash! Free of Flash!
  8. Windows already has an excellent CLI by Weaselmancer · · Score: 5, Funny

    ...you just gotta go download it from here.

    --
    Weaselmancer
    rediculous.
  9. I refuse to use it! by Roofus · · Score: 5, Funny

    Unless I can get transparent terminals. That is what really holds back MS in the server market. I mean, how useful is a shell unless you can see through it?

  10. Re:ooooh by metlin · · Score: 5, Informative
    The beta has been available for sometime now - apparently you need Win2003 or .Net v2 for it to be installed.

    From someone I know who uses it:
    • Very slow, but the scripting was sweet, though not as compact as unix
    • Reminds you of a bastard child of unix+VMS
    • You can write commands in C#, kinda like servlets where you can extend a base class
    • It's an OO way of doing things, but unlike Perl/Python which are screenscrapers, Monad scripts can pipe out and pipe in objects - and everything happens through typed vars, not screenscraping.
  11. Re:Better late than .... by Ford+Prefect · · Score: 5, Funny

    It is interesting that they are now trying to implement a command line competitive with BASH....what year is this again?

    The year is 1973. Apple Computations Inc. have just announced that they are switching to the cutting-edge Zilog Z80 architecture for their range of low-cost pocket calculators; Sony Industrial Consumer Electronics are making use of an innovative new Integrated Circuit for their Alpha-Max-3 video system which contains at least five separate transistors; the Duke Nukem Forever board-game has been given a favourable reception at the Entertaining Entertainment Exposition at the Crystal Palace, London, and now Micro-Soft-Ware are designing their new, BASIC-derived timesharing shell for competing against the burgeoning MULTICS.

    Well, you did ask...

    --
    Tedious Bloggy Stuff - hooray?
  12. Re:vaporware by ssj_195 · · Score: 5, Interesting
    Why should you be worried?
    Because there are a surprisingly large contingent of people who define themselves by the operating system they use, and whose self-esteem is directly linked to the perceived superiority of this operating system over Microsoft Windows. During the late nineties, when Windows was truly a buggy, crashy, piece of shit, these people positively basked in the glee that came from the vindication of their chosen OS - back then, Linux truly was light-years ahead of Windows in terms of speed and stability, and geeks rejoiced in the streets.

    Flash-forward to Windows 2000/ XP, and Microsoft apparently accomplished a miracle, producing a version of Windows that would literally run and run, and was still fairly nippy. Meanwhile, the writers of Linux Desktop Environments were discovering that it's very easy to be fast and light when you don't do much, or aren't particularly user-friendly, and that increased functionality almost always comes at the price of bloat.

    So these people saw two pillars of the superiority of Linux (speed and stability) snatched away from them. The truly curious thing is what happened next: instead of being spurred into action by this new competition and addressing these concerns on the Linux side, these people instead simply went into a state of denial, and refused to let go of these cherished (and rapidly shrinking) areas where Linux once scored over Windows. Read through any anti-MS slashdot article on any given day and count the number of horribly outdated criticisms of Microsoft you see (BSOD's; bloat; Clippy(!)) - as a passionate believer in F/OSS, it really grieves me to see people behaving like this, rather than aiming to improve Linux to the state where it once again has many advantages over Windows.

    Flash-forward to now, as one of the other areas in which Linux scores over Windows (a UNIX command-line is an awesome and enjoyable tool to use; the Windows command line, by contrast, is a rubber hammer with nails in the handle :)) may well be snatched away, and we see the same thing: people are hoping against hope that Microsoft foul it up, because if they don't another area of Linux superiority disappears, along with another shred of their self-esteem. This, I think, is why people care, and why they do not wish Microsoft well in this project, however helpful it may be to the common good.

  13. Actually by bmajik · · Score: 5, Interesting

    i saw an early alpha over 2 years ago. I was blown away.

    Note that prior to joining MS, i did admin and development work on linux, solaris, irix, and even hp-ux. i know my way around a unix shell pretty well. I started making noise a few years back about how awful cmd.exe is and how we need a real scriptable admin experience. Some people said "go check this out". I was blown away at what they already had.

    There are some things about MSH that are really, really good. I'm looking forward to it. I'm frustrated that a lot of the early momentum it had seems to have fizzled and its now bogged down in "product development" :/ The early alphas were releasable, imo. Especially compared to cmd.exe, which is squarely awful :)

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  14. Re:vaporware by LarsWestergren · · Score: 5, Insightful

    Linux/UNIX shells have been developed, tested and improved by hundreds (thousands?) of people who use them repeatedly every day over the course of more than 20 years. How the hell is MS going to make something superior in 3-5?

    I hate to be in any way sticking up for Microsoft, but don't underestimate the value of starting from a clean slate.

    Apple has done some pretty nifty things, for instance launcd . I know it's not popular with everyone, but I think it was pretty cool replacing all these different scipts and daemons, and having one XML based config file. They simplified by daring to question established wisdom (the "We've always done it this way so it must be perfect" mindset.)

    --

    Being bitter is drinking poison and hoping someone else will die

  15. well.. by bmajik · · Score: 5, Informative

    i see that some brilliant person modded me as "troll". nice :/

    anyway, heres what i thought was cool

    - entirely object based. objects are pased via pipeline composition. that means you can do something like

    ls | pick name, size | tableout

    ls is going to return you a collection of "file" objects. the file object has properties "name" and "size" (and lots of others). the pick command takes each incoming object, and looks for properties called name and size. it then passes down a "new" object that is a bag of the name/size combos (or, it may pass along the original file objects.. i dont remember precisely). finally, tableout is a generic formatter that takes objects and formats them one per row, where each property in the object is displayed in a column.

    note that you could replace tableout with say, csvout, or maybe "Excelout"

    so the pipe paradigm changes in a way thats pretty cool.

    Also, because you're working with .net objects which can be reflected, you get intellisense on the commandline, like working in visual studio. you dont necessarily have to remember properties and what not from object streams - it infers them for you.

    (note that a problem i asked them about when i saw the demo - if you have a pipeline where you want tab completion in stage 3, but stage 1 "modifies" state (i.e. in stage 3 you are reporting on what you deleted in stage 1) how do you get the tab complete info without doing the state change in stage one?.. they were aware of this problem and were thinking about it.. but that was years ago :)

    finally, what was cool is that across MS people are buying into the idea that a commandline shell that manipulated object representations of data in a generic way was going to be the path forward for adminsterting windows. Consider that the IIS metabase is now xml instead of what it used to be.. and that msh is a shell that works on structured objects... its not coincidental.

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  16. Re:vaporware by ssj_195 · · Score: 5, Insightful
    I hope you're not trying to paint me as "an MS shill"; check through my posting history and you'll see that this is anything but the case.

    Anyway, point by point:

    Well, unfortunately for them, 2000/XP, though better than Win 9x, are still far from reality. XP still does not run and run, 2000 does not either. They slowly come to a halt, XP faster than 2000. These OS can run and run, if you put one service only on them, and tweak them for two plain days until they ressemble nothing you could work with, which is a process I call tedious, not a "miracle". I never saw one of these OS run and run, but I suppose it is acheivable. Compared to a Linux that run and run without any tweak, there is still a chasm between the two OS.
    On this, we'll have to agree to disagree; I've seen XP crash a handful of times: a few times when it turned out my graphics card was faulty (this crashed Linux, too) and once when I was copying a file from my Linux comp to a friend of mine's XP comp via samba. The latter is inexcusable (but funny side-note: my friend blamed "Linux's crappy Samba implementation", even though it was his computer that crashed, not mine!). The rest of the time, my XP computer at work truly does run and run, requiring a reboot only when a critical Windows Update is required. Your experiences are apparently different.
    When KDE, despite being stuffed with features at every new version, becomes more and more fast with each release.
    This is true - KDE has been getting faster and more memory-friendly - check out the "top" output for KWrite (or is it Kate) under the KDE4 prototype code. I'm very pleased with the progress of KDE, and a recent talk by Robert Love (on optmising GNOME) shows that the Desktop Linux developers are very committed to reducing bloat, which I couldn't be happier about. However, the fact that KDE is getting faster either tells us that something that's always been good is getting better, or something that was slow and memory hungry before is getting better - much like Mac OS X, which started out dog-slow but which has been improving in speed with each successive release. Respectfully, I'd have to say it was the latter: on my 256MB laptop, KDE starts to swap more and much sooner than XP does (i.e. with fewer apps open). Firefox consumes far more resources than IE (although admittedly it also accomplishes far more). Having said that, the focus on the Linux side is on getting faster (I'm drooling with anticipation at XGL), so on the speed/ memory consumption side I see Linux ultimately winning out.
    Now, one thing I wonder : how MSH will come superior to bash, when bash is cross-platform, and msh is not ? It destroys one of the most important features of shells ...
    Cross-platform-ness is admirable, but a shell where objects are first-class citizens sounds pretty good to me. I determine the power of a shell by how much easier it will make my life.