KPTree Wiki logo

KPTree Wiki

  • Page Tools
    Show pageOld revisionsBacklinks
  • Site Tools
    Recent ChangesMedia ManagerSitemap
  • User Tools
    Log In

Search

You can find the results of your search below.

Starts with
  • Exact match
  • Starts with
  • Ends with
  • Contains
@home_server:home_server_setup:other_services
  • Any namespace
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • Commonly used commands and scripts

Fulltext results:

Back-up Server Old Setup
44 Hits, Last modified: 22 months ago
: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
29 Hits, Last modified: 9 months ago
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
24 Hits, Last modified: 11 months ago
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
14 Hits, Last modified: 3 years ago
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
12 Hits, Last modified: 3 years ago
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
7 Hits, Last modified: 22 months ago
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
7 Hits, Last modified: 4 years ago
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
5 Hits, Last modified: 13 months ago
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
2 Hits, Last modified: 3 years ago
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
2 Hits, Last modified: 5 years ago
itution * Hyperlinks, with configurable actions Scriptable:\\ * Control from scripts or the shell *Extend with kittens using the Python language *Use star
VIM Editor
1 Hits, Last modified: 3 years ago
fold | =====Vim Resource File===== Using Vim's scripting language (and a great deal of insight and tool