Command line on Linux: Pro or Con?


Recommended Posts

CLI is great for people who know how to use it. If you haven't got a clue about computers, GUIs are much more intuitive. I personally use a mix of GUI and CLI. CLI for either something overly complex with pipes and streams going all over the place or really simple 1 liners (apt-get install whatever). GUI is more for everyday kinda usage though. Doing stuff like launching a web browser, managing your email etc is just so much better using a GUI in my opinion.

BTW Windows Powershell is just as or even better than bash/terminal.

Serious question: In what way?

I know that Microsoft has included a neutered command shell in the past, and that you could add in MS SFU (which I do on my work PC) to start doing some nifty things.

But how, exactly, is Powershell such a superior product?

Powershell is indeed pretty powerful. In some ways its more powerful then bash in other ways it is a slightly inferior experience. For instance with Bash your piping clear text and with powershell your piping objects. Also the things people don't realize with powershell + wmi you have a whole-host information. There bad things such as the verbosity in the language and the fact its not really light weight as possible ...ie runs on the .net platform.

Powershell is indeed pretty powerful. In some ways its more powerful then bash in other ways it is a slightly inferior experience. For instance with Bash your piping clear text and with powershell your piping objects. Also the things people don't realize with powershell + wmi you have a whole-host information. There bad things such as the verbosity in the language and the fact its not really light weight as possible ...ie runs on the .net platform.

the whole thing failed when they decided to use the .net framework. A CLI is supposed to be really light and fast, last time I tried Powershell it took longer to start than the command prompt and felt "heavy". The features are really good and much needed for windows though so kudos to MS for finally giving Windows a proper CLI

CLI's where the power lies. For one, it usually gives you more details, and also, you can pipe stuff, making everything more flexible.

Also, if you've computer illiterate clowns around, they're all going "woah".

BTW Windows Powershell is just as or even better than bash/terminal.

I tried to like it before my ****-Windows big bang. But its syntax is just goddamn unwieldy and verbose. All the object stuff makes it dogslow for large operations, too. I mean, just do a simple get-children (i.e. ls, dir, etc.) on a directory with more than a bunch of files.

*nix shells have decade(s) of history, development and fine-tuning to them. No way some silly botched up ksh clone (what PowerShell actually is, courtesy their lead developer) will beat that any time soon.

I tried to like it before my ****-Windows big bang. But its syntax is just goddamn unwieldy and verbose. All the object stuff makes it dogslow for large operations, too. I mean, just do a simple get-children (i.e. ls, dir, etc.) on a directory with more than a bunch of files.

I also think bash's syntaxis is wierd but I got use to it.

And slow? Must be your PC. I just did a ls on system32 and movies (200 files about 148GB) and it instantly displayed the contents.

For quick and dirty administrative purposes, I really can't put down the system-config-* stuff, especially when it comes to things like SELinux. *shudder*

I do prefer the CLI, however. It's a bit more difficult to use certain CLI apps compared to their graphical equivalents (Finch v.s. Pidgin), but I get used to it. I've recently discovered the power of `screen'. It makes getting things done via ssh a lot faster! ^_^

Edit: As for Windows PowerShell, I do like the concept they have, but the fact that there can be two or three different command aliases for the built-in commands is annoying, especially when I try to use things like the MinGW version of `ls' (its in my PATH), and the command alias for the `Get-Children' command overrides it! That makes me really angry!

(PS)$ ls -l

Get-ChildItem : Missing an argument for parameter 'LiteralPath'. Specify a parameter of type 'System.String[]' and try again.

At line:1 char:6

+ ls -l <<<<

(PS)$ echo "Curse you, PowerShell! I said `LS -L'!!!"

:(

Edited by rpgfan
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Interesting image choice... reminds me of the human centipede poster
    • Get $50 of aloSIM Mobile Data Traveler eSim credit for just $24.97 by Steven Parker Today's highlighted deal comes via our Apps + Software section of the Neowin Deals store, where you can save 50% off aloSIM Mobile Data Traveler Lifetime eSim Credit: Pay $24.97 for $50. Stay connected affordably in 120+ countries/regions with your own lifetime eSIM! An eSIM is a digital SIM card. It's basically just mobile data. Once it's activated on your device, it can connect you to data networks in other countries – giving you an internet connection with NO roaming charges. With aloSIM, you can load prepaid eSIM data packages onto your phone, tablet, or computer. Your lifetime eSIM never expires, so it's yours forever and there are never any monthly charges. You'll get $50 in eSIM data credit, which is almost always enough to cover all your data roaming needs for a full year. But if you run out of data, you can always top up your lifetime eSIM and stay connected internationally. Pay $24.97 for a lifetime eSIM with $50 in travel data credit Use your eSIM to join data networks in 120+ countries Install your lifetime eSIM on a compatible device to roam on local data networks Your lifetime eSIM never expires, and can be topped up with more data anytime Many data packages cost as little as $4.50 and last 7 days. Depending on the package you choose, the length of time varies. Good to know Length of access: lifetime For NEW customers only Instant digital redemption Once you add your $50 credit to your aloSim account you have up to 12-months to use it — after that your credit will expire When you pay for a data plan you also get a free phone number (via Hushed) for the same duration of your plan that was purchased - IE 7 day eSim plan gives you a free 7-day phone number Purchased coupon must be redeemed and used within 12 months This deal is not stackable (one offer per aloSIM account) A $4.50 data package will last 7 days The data DOES expire, and you WILL NOT have any leftover data for your next trip unless it takes place within the validity period. While the eSIM never expires, the actual data package is only valid for the length of time stated at purchase (i.e. seven days after activation, 30 days after activation, etc.) So if you buy a seven-day package and only use a tiny bit, that package is still going to expire after seven days. Access options: mobile (check compatibility) Max number of device(s): 1 Updates included Here's the deal: This aloSIM Mobile Data Traveler eSim $50 Credit normally costs ... $50, but it can be yours for just $24.97 for a limited time, a saving of $25 (50% off). For specifications, and license info please click the link below. Get this aloSIM Mobile Data Traveler eSim for just $24.97 (was $50) Although priced in U.S. dollars, this deal is available for digital purchase worldwide. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • WordArt was cool. We now have color fonts as a substitute although Word only supports COLRv0 and COLRv1 (Fraud OS 11 only). The OpenType SVG color font format needs to be supported by Office. Adobe's apps support it
  • Recent Achievements

    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
    • One Month Later
      Genuinetonerink- Dubai earned a badge
      One Month Later
    • Week One Done
      Genuinetonerink- Dubai earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      498
    2. 2
      +Edouard
      158
    3. 3
      PsYcHoKiLLa
      90
    4. 4
      Steven P.
      74
    5. 5
      Michael Scrip
      72
  • Tell a friend

    Love Neowin? Tell a friend!