Skip to main content

Thread: bash scripting


hi all, i've been running zorin os 5 on ibm thinkpad x40 month.

kept getting warnings root filesystem full (i know enough know wasn't causing this). further research uncovered known problem ubuntu 11.10 (which zorin os 5 based on).

offending problem (in particular case) /var/log/ keeps getting filled junk files , such.

made batch script delete /log folder , create new /var/log/ directory. script uses sudo delete/make these folders.

want have script run @ startup don't want have enter password when runs.

question is: how script run @ startup without needing open terminal, execute script, enter password, close terminal?

please note if arduous work script works beautifully. i've tried messing permissions of script, editing sudoers file, etc,etc, nothing works.

in matter appreciated.

thread moved "other os/distro talk" forum.


Forum The Ubuntu Forum Community Other Discussion and Support Other OS Support and Projects Other Operating Systems Any Other OS bash scripting


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?