command

  1. First_Law_of_Unix

    How to automatically execute commands that require "su" privileges during user login.

    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...
  2. F

    [INFO] How to avoid from (su: Sorry) error or "message"

    THERE IS THE COMMAND: sudo pw group mod wheel -m !username_here!
  3. erikw

    Shell znp: Wrap dangerous shell command in ZFS pre-post snapshots and log outputs

    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...
  4. F

    Setup Script to run at boot using crontab?

    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...
  5. D

    How to show a progress or percentage bar on script?

    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...
Back
Top