Hello,
I couldn't find any information from the web on how to make a shell script which can automatically execute commands that require "su" privileges during user login.
I have read that I can store the shell script at "/etc/profile.d/" location which did not exist by default and I had to...
EHLO,
I just wanted to share a small but handy script with the community, as I think more people than me could find it useful!
Use Case:
You have some dangerous command which could alter your system in a bad way, e.g.:
$ pkg upgrade
$ portmaster -a
$ some_cmd --force --overwrite...
Hi,
So I'm trying to set a script, so it starts on boot. The problem is, I'm using "@reboot" and I don't think that is working.
I have:
Tried modifying /etc/crontab as root
using crontab -e -u syncthing
tried various commands, IE: "@restart touch /home/syncthing/test"
I have surfed the net...
Hi,
I'm a student and I have to create a script, but I want to show a progress bar when the script is making a backup. For example, I'm making a full backup of the FreeBSD system and while the script is making the job, I want to show a progress or a bar percent completed, is that possible on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.