Search
You can find the results of your search below.
Matching pagenames:
Fulltext results:
- Back-up Server Old Setup
- :home_server_setup:other_services:ipmi#ipmi_start_script|IPMI startup script]] for description of this script. - Mount the back-up drives to the back-up serv... r:home_server_setup:other_services:ipmi#ipmi_stop_script|IPMI Stop script]] - ''sudo bash ~/Myscripts/ipmi_stop_05_40.s... rtn" else exit "$rtn" fi fi } #Script to Startup remote IPMI Server echo "------------... rtn=$? #rtn=10 # for error on test successtype #Script to mount remote backup drive func1="Mount /mntbac
- Rsync
- Man-In-The-Middle attacks, but it plays havoc on scripts. If a prompt occurs, your script stops and waits for input. There are two ways we... $SOURCE $DESTINATION" >> $LOG # Now execute the script, also capture scripts end time, calculate run time, # and send status ... TUS." >> $LOG ;\ echo "####" $answer "full-backup script completed at `date` ####" >> $LOG ;\ ENDTIME=`dat... er.sh monthly </code> Finally, within some of the scripts above, you'll the utility ''apprise''. This util
- BASH Customisation
- er. \\ [[https://terracoders.com/blog/bash-simple-script-changing-display-brightness-xrandr|Bash: A Simple Script for Changing Display Brightness with XRANDR]] *
- NUT (Network UPS Tools) Setup
- Systemd seems to have a method for legacy init.d scripts and creates scripts in /run/systemd/generator.late, in particular, u... ''/bin/upsc KPBUPS@localhost 2>/dev/null''. *A script file to succinctly log the UPS data, using cron to run script every 10 minutes ''sudo Myscripts/UPSScan.sh 2>/d... >>"$strf" </code> *A script file to rotate a log file out to a dated gzip log... new empty log file, the log file with path is the script input ''sudo rotatelog.sh /var/log/UPSLog.Log'',
- IPMI CLI Tools
- ally just has the password in it. =====IPMI BASH Scripts===== ====IPMI Start Script==== This script is used to start-up a remote BMC computer via ipmitool. The script performs some basic error checking a reporting, o
- SSH Notes
- ome predefined Linux distribution text ====Login Scripts==== ====Debian==== *''ls -la /etc/update-motd.d/'' to see the scripts that are run after the MOTD is displayed. The Debian script is very simple: <code bash> #!/bin/sh uname -snrvm </code> ====Ubuntu==== Ubuntu has multiple scripts some that I like and some that I do not like.
- samba
- fect if 'domain logons' is set # It specifies the script to run during logon. The script must be stored # in the [netlogon] share # NOTE: ... e store in 'DOS' file format convention ; logon script = logon.cmd # This allows Unix users to be creat... # password; please adapt to your needs ; add user script = /usr/sbin/adduser --quiet --disabled-password -... achines" group exists on the system ; add machine script = /usr/sbin/useradd -g machines -c "%u machine a
- Commonly used commands and scripts
- ste copy paste}} ======Commonly used commands and scripts====== =====dmesg==== ''sudo dmesg'' lists the O... ripts/server_backup.sh weekly # Run weekly backup script every Monday at 00:15 15 0 1-7 * * [ $(dat... pts/server_backup.sh monthly # run monthly backup script every Wednesday at 00:15 15 0 * 3,6,9,12 5 [... server_backup.sh quarterly # run quarterly backup script every Friday at 00:15 every 3rd month (March, Jun
- logrotate
- e are a number of ways to rotate logs. -Using a script and cron (or systemd.timer) -Using ''logrotate'' ====Logrotate using script==== edit the sudo crontab ''sudo crontab -e'': <
- tmux
- itution * Hyperlinks, with configurable actions Scriptable:\\ * Control from scripts or the shell *Extend with kittens using the Python language *Use star
- VIM Editor
- fold | =====Vim Resource File===== Using Vim's scripting language (and a great deal of insight and tool