allywilson@lemmy.ml to Linux@lemmy.ml · 5 months agoI'm back on that other OS for worklemmy.mlimagemessage-square45fedilinkarrow-up1234arrow-down119file-textcross-posted to: programmer_humor@programming.dev
arrow-up1215arrow-down1imageI'm back on that other OS for worklemmy.mlallywilson@lemmy.ml to Linux@lemmy.ml · 5 months agomessage-square45fedilinkfile-textcross-posted to: programmer_humor@programming.dev
minus-squareperishthethoughtlinkfedilinkEnglisharrow-up8·5 months agoThe reason I have a “ls.bat” batch file on my Windows PC and a “d.sh” script in linux. Both added to my path, of course
minus-squareMrPoopyButthole@lemmy.worldlinkfedilinkEnglisharrow-up9·5 months agoPowershell has ls and other common linux commands built in, try it.
minus-squarecatloaflinkfedilinkEnglisharrow-up3·5 months agoPowershell ls is an alias to get-childitem. And wget is an alias to invoke-webrequest, which is NOT AT ALL the same thing.
minus-squareperishthethoughtlinkfedilinkEnglisharrow-up2·5 months agoYah, my win11 pc has the full suite of gnu commands actually, available at the regular cmd prompt, now that i think of it
minus-squarecatloaflinkfedilinkEnglisharrow-up2·5 months agoIf it does, that’s something you installed, because it certainly doesn’t come out of the box that way.
minus-squareperishthethoughtlinkfedilinkEnglisharrow-up2·5 months agoOdd! I don’t recall installing anything else. I had to go look at and see where the files sit on my C drive: https://i.imgflip.com/8oge2z.jpg Maybe the Git for Windows installer has more than the linux versions?
minus-squarecatloaflinkfedilinkEnglisharrow-up4·5 months agoWhen you installed git for windows, you picked the “add to path” option, or whatever it’s called. It has a feature to do this.
The reason I have a “ls.bat” batch file on my Windows PC and a “d.sh” script in linux. Both added to my path, of course
Powershell has ls and other common linux commands built in, try it.
Powershell ls is an alias to get-childitem.
And wget is an alias to invoke-webrequest, which is NOT AT ALL the same thing.
Yah, my win11 pc has the full suite of gnu commands actually, available at the regular cmd prompt, now that i think of it
If it does, that’s something you installed, because it certainly doesn’t come out of the box that way.
Odd! I don’t recall installing anything else.
I had to go look at and see where the files sit on my C drive:
https://i.imgflip.com/8oge2z.jpg
Maybe the Git for Windows installer has more than the linux versions?
When you installed git for windows, you picked the “add to path” option, or whatever it’s called. It has a feature to do this.