I've collected a bunch of Linux OS tweaks to have it function better for my needs.
I need a way to remember exactly what those tweaks were and then to be able to reimplement them should i reinstall my OS in the future. Also, I can share them with others too.
So i started to put all my tweaks into a bash file, but it's starting to get a bit heavy handed, and i was looking for a way to split all the tweaks into sperate modules/files and the internet keeps telling me that at this point maybe my needs have outgrown Bash, and to look for alternatives such as Python... But I love Rust!
So can Rust help me here? Can it execute 'terminal commands' and read input?
I understand programming languages to be good at editing data owned by the program itself, but... modify data owned by the system, can that be done?
It's mostly just editing text files scattered around the system, with some use of regex, grep, sed and awk, here and there.
I'm honestly thinking that Bash is probably better here because it's just clearer what the intent of the code is, will be fewer lines, and especially for sharing, people aren't going to want to run a binary as root that modifies the OS if they aren't very familiar with Rust and spend the time combing through the source code.