• 0 Posts
  • 20 Comments
Joined 9 months ago
cake
Cake day: August 7th, 2024

help-circle
  • You did say “I don’t use Windows” which sounded like you were saying you didn’t know if what they were saying was technically plausible or reasonable, and without knowing what you do or don’t know about Windows or DOS, figured I’d respond with the presumption that it’s possible you’re only really familiar with *NIX systems (which is not a judgement).

    I find it kludgey and unnecessary to shut down that way, but it’s not exactly a bad idea, and it does not require admin rights.

    And there’s no reason it wouldn’t be supported: when you run the file, it opens it in a terminal window, it’s exactly like if you manually opened it and typed it from a technical point of view.

    And if someone malicious has the ability to edit a file on your desktop, they could do a lot more dangerous things, pretty much anything you could put in the batch file, more or less directly.

    Really, the only issue here is that you’d always be force closing your programs when you shut down which increases the odds that eventually they might corrupt one of their files… Not a huge risk, but non-zero.











  • Same, did a rebuild of my PC when I cannibalized my old one into a media server (really only kept the drives, so not really more like just built a new one…), bought two nvme drives for it with the intent to put Linux on the first and Windows on the second, but held off on putting Windows onto it to force myself to stick with it until I got a real sense for what I’d need it for…

    A couple months later I decided I’d just use that second drive for more storage. Hasn’t run Windows once in over ten months of use and I’ve yet to miss it.

    Only took me sixteen or eighteen years of saying I’m going to switch to actually do it…





  • Funnily enough, I use PowerShell as my daily driver and I rarely ever use the Format verb cmdlets and think they need to stop teaching people to use them as much as they do… They’re only meant to modify how things are displayed, but in doing so, they trash the objects that were on the pipeline and replace them with formatting commands, and cause confusion when people try to do something with what they output

    The worst is using them to select properties, they should not have included that ability at all, that’s what the Select-Object cmdlet is for, which outputs usable objects

    Anyway, sorry for the rant… I just think those overall teach new users bad habits.




  • Congrats! Made the switch finally early this year myself, after thinking about it for nearly twenty years. Hasn’t been nearly as hard as I was worried it would be.

    I will say that the “Linux Basics for Hackers” is a pretty disappointing book that really should just be called “Linux Basics”, and spends too much time pandering with things like “cool” scripts that do nothing useful or wrap a simple command in a way that doesn’t actually make it more useful or easier. It’s also full of inaccuracies and just isn’t very well written, and if you’ve gotten through much at all of How Linux Works, you’re not likely to get anything out of it.