What Happened to My BASH Script Post?

0
7
Asked By CuriousCoder92 On

I recently tried to share a BASH script I created for a cron job that edits the hosts file. I believed it followed all the community rules, but it was removed, and I'm confused about why. I had concerns about whether my approach was best practice and was hoping to get feedback to understand better or learn about alternative solutions since I found some options hard to grasp. Can anyone shed some light on this?

4 Answers

Answered By FriendlyModHelper On

If you're unsure about the removal, it could be best to contact the moderators directly through mod mail. They can give you the most accurate reason for the removal.

Answered By ScriptSlinger87 On

It sounds like you might want to check out using tools like Ansible instead of just a BASH script. Those tools could provide a more robust solution for managing configurations, but without seeing your script, I can't say for sure why it got removed.

Answered By LinkMaster3000 On

One option might be to post your script on a site like fpaste or something similar and then share the link here. That way, more people can see it and give you feedback.

Answered By TechSkeptic101 On

Editing the hosts file through a cron job can sometimes seem risky, especially if it involves blocking sites. Some users might have felt that wasn’t the best approach. Can you specify what your script was doing?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.