So you’re in cmd.exe and you type ‘ls
‘ expecting to get a directory listing. Instead cmd.exe gives you the finger. You give cmd.exe the finger back. Just then your boss walks by and sees you flipping off company property. Next thing you’re in her office having a discussion on appropriate workplace behavior. Having had enough of ‘The Man’ you flip off your boss.
Now you’re sitting at the bus stop waiting for the bus that will take about 90 minutes to get you home. Just about 7 minutes faster than if you walked. But it’s cold outside. No job, no car, no prospects. Life sucks. And then you learn that you could have been using DOSKEY to set up persistent aliases in cmd.exe.
Just one simple DOSKEY ls=dir
later and it doesn’t matter which platform you’re on. Assuming you already set aliases in .bashrc for all of your bad cmd.exe habits that is.
Chin up, young squire! Now when you’re fired from your next job, at least it won’t be on cmd.exe’s account. You can thank me later.
Oh, and if you’re using Console2 (like good little non-Microsoft GUIs should) save off your DOSKEY settings into a bat file. Then in your console.xml modify /settings/console/@shell to C:\Windows\System32\cmd.exe /K PATH_TO_COMMANDS.bat
Now you get Console2 and your aliases. Life just gets better and better.