The Bard's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago

Hallelujah

lemmy.world

message-square
35
link
fedilink
1.12K

Hallelujah

lemmy.world

alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago
message-square
35
link
fedilink
alert-triangle
You must log in or # to comment.
  • candyman337@sh.itjust.works
    link
    fedilink
    arrow-up
    139
    arrow-down
    1
    ·
    2 years ago

    I like that you actually can ls in power shell now

    • spez@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      3
      ·
      2 years ago

      yeah

      • candyman337@sh.itjust.works
        link
        fedilink
        arrow-up
        25
        ·
        2 years ago

        I’m so sorry but this is how I pictured your response lmao

        Image

        • spez@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          2
          ·
          2 years ago

          lol

  • 𝕸𝖔𝖘𝖘@infosec.pub
    link
    fedilink
    English
    arrow-up
    24
    ·
    2 years ago

    Add ls.bat in your windows directory with dir as the source. It basically acts as an alias.

    • jasondj@ttrpg.network
      link
      fedilink
      arrow-up
      17
      ·
      2 years ago

      Still won’t help me when I type ifconfig or dig, though.

      Also I’ve noticed there is also a curl in Windows CLI that I believe is based on libcurl, but when called from powershell is an alias for (iirc) Invoke-WebRequest.

      • w2tpmf@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        2 years ago

        ifconfig doesn’t even work in a lot of Linux distros anymore.

      • jvisick@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        I came across this one just yesterday and while it was convenient at first, I immediately got frustrated when I went to add some parameters and discovered it wasn’t actually curl

  • over_clox@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    2 years ago

    echo @dir %1 %2 %3>%windir%\system32\ls.bat

    Something like that should fix the problem, I think…

    • hemko@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      :puke:

      • over_clox@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        You’re no fun…

        %0|%0

  • shastaxc@lemm.ee
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    2 years ago

    Cmd? What century is this? Use powershell

    • stevedidWHAT@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 years ago

      I’m gonna take it a step further and say to use the new Terminal app from the winapp store which lets you integrate ALL command lines into one app and it looks snazzy to boot!

      Check it out mother fuckers!

      • shastaxc@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        Yes I love it. It’s on w11 by default

        • yum13241@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          I hate it, it takes too long to start up.

          • shastaxc@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            Maybe something is wrong with your pc. It takes me about 5 seconds. Or you are just very impatient.

            • yum13241@lemm.ee
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              5 seconds is way too long when all I need to do is run small utility in batch.

      • Anony Moose@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        Agreed. Terminal is the shite. Makes working in WSL Ubuntu really rewarding.

    • inclementimmigrant@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      I’ve found that powershell doesn’t play nice with many command line developer tools so cmd it is.

      • SpaceCowboy@lemmy.ca
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        2 years ago

        Yeah powershell is better 95% of the time. But that other 5% of the time you have to go back to CMD and redo what you were attempting. So the work done in powershell is a waste of time 5% of the time, and you still will need to know CMD to be able make everything work.

        So Powershell is better in theory, but in actual practice I tend to do things in CMD because I know it will work.

        • sznio@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          I really like PowerShell’s object-oriented approach to pipelines. Unix pipes feel really dated in comparison.

    • Rolivers@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      My brain is still hardwired to do Win+R CMD Enter…

      • shastaxc@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        You can just press Win key and type whatever to search and enter to open. WIN Term Enter, and there’s your Windows Terminal.

    • calzone_gigante@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      2 years ago

      Takes way too long to open, have weird issues all the time

  • WhiskyTangoFoxtrot@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    It’ll always be “Bad command or file name” to me.

  • dylanTheDeveloper@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    2 years ago

    sfc/scannow

  • Paragone@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    https://duckduckgo.com/?q=gnu+utils+for+windows&t=fpas&ia=web

    That’s what I used, back when I still had MS-Windows installed…

    feels good to say “it’s been years”, tho…

    ( :

    _ /\ _

  • FunkyCheese@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    Dir?

    • Nintendo@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      what did you say? say that again to my face, I dare you.

      • FunkyCheese@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        I apologize. I didnt mean to offend anyone!

    • thepianistfroggollum@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Too many letters

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Why are DOS commands always so verbose?

      • out@lemmynsfw.com
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 years ago

        deleted by creator

  • stevedidWHAT@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    But what about Linux subsystem for windows tho

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 976 users / day
  • 1.76K users / week
  • 3.63K users / month
  • 9.96K users / 6 months
  • 1 local subscriber
  • 28.4K subscribers
  • 1.47K Posts
  • 26.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.14
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org