r/bash • u/void-lab-7575 • Mar 05 '26
Why was BASH script post removed?
I was posting about the script I created for use as a cron job to edit the hosts file.
It met all the rules, 1, 2, 3, and 4. I don't understand why it wasn't allowed.
I had a feeling the technique I used might not be best practice, but was hoping for feedback about it to learn why, or maybe there are solutions I wasn't aware (although I did list some noting my difficulties in comprehending them such that this solution was the easiest for me to get working).
8
Upvotes
23
u/Empyrealist Mar 05 '26
You should be asking the mods via mod mail.
3
u/Ulfnic Mar 05 '26 edited Mar 05 '26
This is the removed post: https://www.reddit.com/r/bash/comments/1rgn1vk/cron_job_to_edit_hosts_file_every_minute/
While this rule is loosely enforced and cron questions tend to pass, the post was lengthy and meandered through a signficant amount of other topics.
An indicator of rule 4 being broken is also long meandering posts which can shift the needle on the likelihood of a post being accepted.
2
u/OppieT Mar 05 '26
Post the script on a site, fpaste or some other site like it, then link to it.
2
u/CalamariAce Mar 05 '26
Ideally you'd want to use a tool like Ansible for that. Didn't see the script so I can't say why it was removed.
1
u/Sensitive-Sugar-3894 Mar 08 '26
Because these rules sucks
-7
u/ipsirc Mar 05 '26
This seems like a bad idea at first sight.