Dir?
Programmer Humor
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
what did you say? say that again to my face, I dare you.
I apologize. I didnt mean to offend anyone!
Why are DOS commands always so verbose?
Wait till I tell you about Pause
Well that's rude.....
Too many letters
Mir?
Mir nichts, dir nichts
Achso, schade, aber kann man nichts machen
Tja
Just makes the command prompt climb into a hole
use powershell (specifically the core version!!!), or even better something like Nu shell
Add ls.bat in your windows directory with dir as the source. It basically acts as an alias.
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
.
ifconfig doesn't even work in a lot of Linux distros anymore.
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
Classic PoweShell experience. Try rm -rf
- I wonder why they added the aliases in the first place. Only frustrating to type different arguments which are also more verbose. Tastes like the good ol' embrace-extend-extinguish.
echo @dir %1 %2 %3>%windir%\system32\ls.bat
Something like that should fix the problem, I think...
:puke:
You're no fun...
%0|%0
Not gonna lie I love easily readable scripts. Powershell was my first, and as much pain it can be it's for sure readable even for the most novice.
Maybe that's why I love Python too, but have hard time learning sh past very basics...
Edit: oh lol that's a fork bomb, curiosity won and had to ddg what that is. Love the simplicity of that
Thank Microsoft for PowerShell
Cmd? What century is this? Use powershell
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!
Agreed. Terminal is the shite. Makes working in WSL Ubuntu really rewarding.
I've found that powershell doesn't play nice with many command line developer tools so cmd it is.
Yes but it can do "cd.."
It'll always be "Bad command or file name" to me.
God everytime!
I like that you actually can ls in power shell now
Yes, yes you can.
Also, WSL and windows terminal go a very long way in making windows actually usable...
sfc/scannow
Memories we all share.