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

    • Surprise! We still can't get it right. With the current state of AI, the crappy software, the huge mega-corporations that back all of these idiot things, I think we are a very long way away from SAE Level 5. I, for one, will never get in one.
    • Nice. September/October GA?! I'll keep following it, but won't install any preview or beta versions.
    • Wow, that could have been dangerous, certainly not ready for these things. They have to be 100% or pretty well close to it. Not that I will see one i doubt, never mind ride in one, they may have them in London, but I doubt they will come to where I live.
    • Nothing kills CMF Phone 2 Pro's successor due to rising memory prices by Hamid Ganji Storage and RAM prices have been rising over the past year, leading to a significant increase in the cost of electronics for customers around the world. Many companies are now revising their plans for upcoming devices due to higher component costs and overall production expenses. CMF is the latest company to cancel the successor to one of its best-selling phones due to rising memory prices. CMF is a sub-brand of Nothing and focuses on making budget smartphones for growing markets. The brand launched the CMF Phone 2 Pro last year with some eye-catching specifications and an affordable price. While many customers may have been waiting for a successor this year, one of the company’s executives has announced that CMF will not release a new smartphone this year. And AI is to blame. As Nothing co-founder Akis Evangelidis announced on X, the company has been working on a successor to the CMF Phone 2 Pro, but with current memory prices, it cannot “build a phone that feels like a genuine step forward at a price that makes sense for CMF.” So, no new CMF phone will be launched this year. Meanwhile, Evangelidis said the company still has several new products in the pipeline, including some in entirely new categories. He added that the Nothing brand will also continue launching new products through 2026. Budget smartphones are among the first victims of the surge in RAM and memory prices, as they have become more expensive to build. The sharp increase in memory costs could also reshape the traditional price ranges associated with budget phones. Apple CEO Tim Cook also recently said that price increases for some of the company’s products are unavoidable because RAM and memory have become significantly more expensive this year. Analysts estimate that the base price of the upcoming iPhone 18 Pro could rise to $1,399 due to current market shortages.
    • Nudge me when they bring back hardware audio acceleration so I can get my EAX 5 back. We've evolved graphics to real-time path tracing, but regressed audio some 15 years back in time with this stupid software audio stack.
  • Recent Achievements

    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • One Year In
      Skeet Campbell earned a badge
      One Year In
    • One Month Later
      Sharbel earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      541
    2. 2
      +Edouard
      187
    3. 3
      Michael Scrip
      78
    4. 4
      PsYcHoKiLLa
      75
    5. 5
      Steven P.
      71
  • Tell a friend

    Love Neowin? Tell a friend!