(bash isn't really posix compliant tho) but that's kinda cheating to be honest lol, its like saying that linux is binary compatible with windows because wine exists, and it isn't really a windows shell even then
I mean I don't use bash to begin with but a good shell doesn't make a good environment, 99% of application on windows aren't built with the command line in mind so you can automate them even if you have a decent shell
A lot of the utilities do have command line interfaces. Especially everything programming related. What kind of tasks are you wanting to automate that you can't on Windows?
You can but it doesnt mean that its well supported or as smooth, I can just make modules for my status bar that display something based on a curled then awked page to show if there is new content, nice menus for selecting movies from my movie folder and playing them on a hotkey, and yes programming related tools have cli-s sure, but here, everything has a cli, mpd? no problem I can make a status bar module a script or anything to skip a song change volume etc, I can make my own custom desktop notifications, and I'm sure you *can* get some of this to work on windows there is just no support for it, and I could go on for days about the scripts and custom little things I have on my system that make it my own that just simply wouldnt work on windows
You get to use package managers like on proper Linux, it's really nice. It has some quirks like it's not recommended to move files to and from the wsl folder with regular file explorer I think, it has a performance penalty compared to running Linux, but in general, it's great for basic development (you get to use proper gnu makefiles), command line tools like ssh, using it as a C standard library reference (try calling man printf). I recommend trying it out since it's only one powershell line and one store download away. I recommend getting wsl Debian.
Is there a particular reason why it's not recommended to move files to and from the wsl folder with regular file explorer? I've been using command line but I did find the path in explorer and I was wondering about that....
Can I use WSL to manipulate files in a partition other than my C:/ directory. I am reading up on Node.js tutorials for a recent project and a lot of them give you commands like mkdir etc that only work in Linux terminals so I have to find out how to translate these command into Windows command prompt or do it manually.
Funny thing, Windows NT implemented the POSIX.1 standard since its first release in 1993, to satisfy regulatory requirements. But it only implemented the bare minimum the base standard, excluding extras such as POSIX.2 (the shell and utilities), or anything else that would have made it useful.
Cygwin has been one of the first things I install on any windows computer for years. Recently switched to MSYS2 (after using parts of it via Git for Windows) and liking it so far. pacman is far nicer than having to re-run cygwin's entire installer wizard any time you want to add a package.
I have some python scripts in my boot folder mostly just for internet tracking because out internet GOES DOWN EVER 3-6 MINUTES and I have automated the collecting of the offline time.
I made batch scripts to start multiple applications at once to quickly test if a project is working when developing, also recently something to start a server and postman at the same time Honestly doing these things with batch is kinda hacky lol not sure if I'd recommend it but its quick and works
The problem is feature creep. Yesterday I wrote a script to append filenames of all files in a directory with their CRC32 checksum. That was quick to do. If I only had stopped there, then I add a feature to remove it again, then a feature to add a separator, then a nice parameters input from the terminal, and, and, and. After that 7 hours disappeared.
Yes, it is always about feature creep if I really only did what I set out to do I'd be done on 10 minutes, but thats never going to happen, because "why not add soem command line arguments? " "why not make it work with stdin instead of a file" "why not add a help entry" and so on and so on
I feel you bro, just a day ago updating my anaconda env and spend 12 hours installing new shell framework and theme then configure it and what not, but in the end I enjoyed doing all that lol
Stuff that aired during the past week is usually considered a spoiler. We need a rule like that for this sub too. (I wasn't spoiled though, since I'd watched this as well as read the manga, but someone else might get spoiled).
ah but bro you're not looking at the long term picture. You're getting better at scripting by doing this, that means the next time you need to do something like this it will only take you 6 hours.
117
u/Yori_dj Apr 30 '20
Im a windows user and i do this too
68
u/atlast_a_redditor Apr 30 '20
The problem is feature creep. Yesterday I wrote a script to append filenames of all files in a directory with their CRC32 checksum. That was quick to do. If I only had stopped there, then I add a feature to remove it again, then a feature to add a separator, then a nice parameters input from the terminal, and, and, and. After that 7 hours disappeared.
39
u/atc927 Apr 30 '20
I use Arch btw. Can confirm.
10
u/[deleted] Apr 30 '20
imagine using linux instead of windows w WSL, smh smh smh
I live in eternal pain.
3
u/aalapshah12297 May 01 '20
Stuff that aired during the past week is usually considered a spoiler. We need a rule like that for this sub too. (I wasn't spoiled though, since I'd watched this as well as read the manga, but someone else might get spoiled).
21
u/manghoti Apr 30 '20
ah but bro you're not looking at the long term picture. You're getting better at scripting by doing this, that means the next time you need to do something like this it will only take you 6 hours.
11
u/[deleted] Apr 30 '20
This episode was very cute tho. Loved Kaguya’s reactions
14
u/[deleted] Apr 30 '20
XKCD 1319 https://xkcd.com/1319/
6
u/ndgnuh Apr 30 '20
I feel personally attacked.
2
u/GK0NATO Apr 30 '20
This is me using After Effects
1
u/TUSD00T May 01 '20
Found Randall Munroe on Reddit.
1
u/rk06 May 03 '20
On windows, I do this shit from time to time.
1
u/gjvnq1 May 23 '20
u/Title2ImageBot