OK so I hate windows.
So i haven't really tried to use it for anything but gaming and testing my viruses on.
Kulverstukas recently pointed out to me that windows cmd can actually be slightly less shit by installing clink.
So I ran with it and tried to improve on it a bit:
1. Install ClinkWebsiteexe installerClink is so awesome you can type paths normally (with / as a seperator) and everything will just work.
The TAB completion is wonderful too.
It also persists command history across sessions and even has (reverse-i search) !!!!!!!
You have to disable console2's Ctrl+R hotkey to use it though. (at the end)
2. Install CygwinWebsiteexe installerWhen you install cygwin you can select what packages you want to install.
If you select all it will download and install more than 10GB of stuff, so you probably want to only select the stuff you need.
For anyone interested here is my setup.ini
https://gist.github.com/d4rkcat/249229f0f6a533038f54With this setup my cygwin directory is 795 MB
3. Install Console2Websiteexe installerOnce you have installed it launch it and right click on it, you can go to edit>Settings and modify it to your liking.
4. Add everything to PATH.Press Windows Key+Pause
Then Advanced System Settings
Then Environment Variables
So if you installed things with default paths you would need to add:
;C:\Console2;C:\cygwin64\bin
to PATH variable.
5. Install AutoHotKeyWebsiteexe installer6. Set up AutoHotKey to make the terminal appear and disappear with a hotkeyWhen you start AutoHotKey it will ask you to edit the script.
Put this in there (with any modifications you prefer, this launches and hides the terminal with `)
https://gist.github.com/d4rkcat/8ec3eb5f37ae271d953b7. That's it. Welcome to a less shit cmd. You can
ls
pwd
cat file.exe | sha256sum
echo 'This*is*a*string*baby' | cut -d '*' -f 4 | base64 > some.txt
cat some.txt | base64 -d | grep str
Or if you prefer you can access the bash shell directly by typing:
bash
Enjoy!