this post was submitted on 05 Nov 2023
476 points (91.9% liked)

Technology

59559 readers
3580 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Your Windows 10 PC will soon be 'junk' - users told to resist Microsoft deadline::If you're still using Windows 10 and don't want to upgrade to Windows 11 any time soon you might want to sign a new online petition

you are viewing a single comment's thread
view the rest of the comments
[โ€“] TheBananaKing@lemmy.world 2 points 1 year ago (1 children)

As a linux user, I SSH to a Linux box when I want to do things that aren't file/print/email/media/games - though honestly, Powershell is pretty fucking awesome as a scripting language.

Imagine if every command used JSON when piping to/from another command, so you aren't fucking around with cut and awk and sed all the time just to pull values out. It's nice. I don't have much application for it personally, but it honestly is pretty grown-up.

[โ€“] netchami@sh.itjust.works 1 points 1 year ago

People will disagree with me on this one and it's totally fine, but I don't like JSON. Over the many years of using nothing other than Linux or other Unix-like operating systems I just got used to using stuff like awk to filter out data. PowerShell might be nice for scripting, but it's terrible for interactive usage. I spend a lot of time in the Terminal and fish shell is my favorite because it's awesome for interactive usage. You don't have to use your shell for scripting though. You can also just use something like Python, Ruby, heck even JavaScript. There's also Nushell which has an interesting way of handling data, I think it's kinda similar to what PowerShell does. Check that out if you are interested.