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

    • Slight change of pace for me! Gunnar & the Grizzly Boys - Standard American (Official)  
    • draw.io Desktop 30.2.4 by Razvan Serea draw.io desktop is a downloadable security-first diagramming application that runs on Windows, MacOS and Linux. Creating diagrams in the desktop app doesn’t need an internet connection. This is useful when you are disconnected or when you must create diagrams in a highly secure environment, where data protection is of the utmost importance. When you use the draw.io desktop app, your diagrams will be stored on your local device. Because this is a stand-alone application, also designed to run offline, there are no interfaces to cloud storage platforms available. Of course, you can still store your diagrams in folders that are synchronised to your cloud storage if you wish. Easy-to-use diagram editor The draw.io apps work just like the office and drawing tools you are used to using. Drag and drop shapes from the shape libraries and drag to draw connectors between them. Drag connectors to add waypoints and set a precise shape and position, or let them reroute automatically. Double click and start typing to add a label to anything. Create tables and swimlane flows with a familiar tool. Style shapes and connectors with customisable palettes, sketch options, fonts and text formatting tools. Search for shapes, including in open-source icon libraries. Use our vast libraries of shapes and templates, organised into logical categories, to create a range of diagrams and infographics. Generate diagrams from text descriptions using our smart templates. Diagram faster with keyboard shortcuts. draw.io Desktop 30.2.4 changelog: Uses electron 42.4.1 Updates to draw.io core 30.2.4. Download: draw.io 64-bit | Standalone ~100.0 MB (Open Source) Download: draw.io 32-bit | ARM64 | ARM64 Standalone Links: draw.io Home Page | Project page @GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Microsoft will soon allow some users to block Copilot from analyzing their Office files by Usama Jawad Microsoft Purview is a pretty useful data governance, security, and management service that allows customers to gain enhanced visibility and control over their content. It's meant for commercial customers, such as organizations that are storing data at scale. As AI continues to expand and infiltrate every corner of a firm, many are a bit conscious about the technology gaining access to their confidential data. Microsoft is now making a configuration change that will allow such customers to rest easy. Right now, users within an organization have the option to apply Purview sensitivity labels (when available) to secure certain files and label them as such. For example, if you apply the "Confidential" label on an Excel file, the file will be encrypted, and a "confidential" watermark will be applied to it. So, if this file is shared with anyone, they are aware that its access is supposed to be restricted. Up until now, Microsoft was allowing some connected experiences, like its AI services, to analyze files, regardless of their sensitivity label. This is of major concern to most organizations, as a recent example highlighted how confidential emails with data loss prevention (DLP) policies like privacy labels were being uploaded to Copilot for analysis. As such, Microsoft is updating an existing Purview data label sensitivity setting that prevents "some connected experiences that analyze content", from being blocked completely from doing this. The label isn't changing, but the blocking is now being enforced across all connected services (including Copilot and other AI tools), and now extends to Microsoft Word, Excel, and PowerPoint. Files with the label applied already will get this enhancement automatically too once it becomes available. Microsoft has urged IT admins to inform their respective helpdesk and compliance teams, update internal documentation, and review sensitivity labels to ensure that they meet their respective compliance needs. This change is tagged as MC1297982 in the Message Center. General availability is scheduled to begin in a phased manner soon and will complete by the end of next month. That said, it is important to note that this only applies to commercial customers who have a license that allows them to use Purview.
    • llamas are unruly going haywire in New Guinea.
    • The Persuasion Engine: How Any Business Can Use AI-Powered Neuromarketing —was $28 now free by Steven Parker Claim your complimentary copy (worth $35) of "The Persuasion Engine: How Any Business Can Use AI-Powered Neuromarketing to Understand and Win Customers" for free, before the offer ends on June 24. Description The Persuasion Engine, by neuromarketing and behavioral science expert Roger Dooley, solves the most pressing challenge faced by every marketer: how to figure out why customers make the decisions they do when 95% of their thought processes occur at an unconscious level. Dooley explains how artificial intelligence democratizes sophisticated neuromarketing tools that were once available only to Fortune 500 companies, making powerful customer insight and persuasion techniques accessible to businesses of any size. The book walks you through the evolution of traditional neuromarketing into ”Neuromarketing 2.0,” where AI-powered tools eliminate the need for expensive lab studies and human behavioral science experts. It offers a comprehensive roadmap for implementing eye tracking, facial coding, biometrics, implicit testing, and advanced AI behavioral techniques that dramatically improve marketing effectiveness while reducing costs and time investment. Inside the book, you’ll find: Revolutionary AI prompting strategies that bring world-class behavioral science expertise to your desktop Practical frameworks for leveraging attention, emotion, credibility, and decision architecture to boost conversions Step-by-step guidance for implementing biometric tools and implicit testing without laboratory resources Advanced techniques for creating scarcity, urgency, and FOMO that drive immediate customer action Comprehensive methods for auditing and enhancing empathy in customer communications Perfect for marketing professionals, business owners, entrepreneurs, and anyone with a stake in customer acquisition and retention, The Persuasion Engine provides actionable strategies that will transform your approach to marketing. Whether you're working on a shoestring or managing enterprise campaigns, you'll discover how to use your customers' non-conscious motivations and create compelling marketing that work on real people in the real world. How to download for free Please ensure you read the terms and conditions to claim this offer. Complete and verifiable information is required in order to receive this free offer. If you have previously made use of these offers, you will not need to re-register. Was $28, but is now FREE | Below free offer link expires on June 24. The Persuasion Engine: How Any Business Can Use AI-Powered Neuromarketing to Understand and Win Customers The below offers are also available for free in exchange for your (work) email: The Vibe Coding Playbook: Building Your Tech Business with AI ($35 Value) FREE - Expires 6/23 The Persuasion Engine: How Any Business Can Use AI-Powered Neuromarketing to Understand and Win Customers ($28 Value) FREE - Expires 6/24 How to Do More with Less: Future-Proofing Yourself in an AI-driven Economy ($28 Value) FREE - Expires 6/30 Cloud Security Fundamentals: Building the Foundations for Secure Cloud Platforms ($131.95 Value) FREE - Expires 7/1 The Complete Free AI Learning: Master ChatGPT, Claude, Gemini & More ($21 Value) FREE How to Build an AI Design Workflow with Gamma ($21 Value) FREE The Ultimate Linux Newbie Guide – Featured Free content Python Notes for Professionals – Featured Free content Learn Linux in 5 Days – Featured Free content Quick Reference Guide for Cybersecurity – Featured Free content We post these because we earn commission on each lead 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. Other ways to support Neowin The above deal not doing it for you, but still want to help? Check out the links below. Check out our partner software in the Neowin Store Buy a T-shirt at Neowin's Threadsquad Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: An account at Neowin Deals is required to participate in any deals powered by our affiliate, StackCommerce. For a full description of StackCommerce's privacy guidelines, go here. Neowin benefits from shared revenue of each sale made through the branded deals site.
  • Recent Achievements

    • 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
    • First Post
      BizSAR earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      589
    2. 2
      +Edouard
      190
    3. 3
      Michael Scrip
      76
    4. 4
      PsYcHoKiLLa
      75
    5. 5
      neufuse
      72
  • Tell a friend

    Love Neowin? Tell a friend!