bin

Search

You can find the results of your search below.

Back-up Server Old Setup
49 Hits, Last modified:
ounted ++++Possible mount script| <code bash> #!/bin/bash #input 1 is the proposed mount point if [ ... im ~/Myscripts/mount_backup1.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk1 to local /... im ~/Myscripts/mount_backup2.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk2 to local /... ~/Myscripts/unmount_backup1.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk2 to local /
Rsync
36 Hits, Last modified:
l batch inputs when run! ++++code| <code bash> #!/bin/bash wwwpath='/home/shared/www/html' workpath='/h... rKnownHostsFile=/dev/null \ -q user@host /usr/bin/hostname -s</code> To set this configuration syst... rapper script: <code>sudo mkdir /home/backup_user/bin sudo vim /home/backup_user/bin/rsync-wrapper.sh</code> Enter the following in this file to create the
NUT (Network UPS Tools) Setup
8 Hits, Last modified:
<code> upssched.conf CMDSCRIPT /bin/upssched-cmd # default </code> Ensure ownership ... t -R"\''. =====NUT Output===== The output of ''/bin/upsc KPBUPS@localhost'', (or simply ''upsc KPBUPS... -shutdown/nutshutdown" and populate so: <code> #!/bin/sh /sbin/upsmon -K >/dev/null 2>&1 && /sbin/upsdr... = *List all the UPS device profile variable ''/bin/upsc KPBUPS@localhost 2>/dev/null''. *A script
SSH Notes
7 Hits, Last modified:
The Debian script is very simple: <code bash> #!/bin/sh uname -snrvm </code> ====Ubuntu==== Ubuntu ha... etc/update-motd.d/50-landscape-sysinfo| <code> #!/bin/sh # pam_motd does not carry the environment [ -f... ho echo -n " System information as of " /bin/date echo /usr/bin/landscape-sysinfo else echo echo " System information disabled due
BASH Customisation
3 Hits, Last modified:
rclone-status.sh' alias rcps="ps -ef | grep '/usr/bin/rclone sync\|/usr/bin/rclone copy\|/usr/bin/rclone move'" # see running rclone copy sync or move # YT-DLP alias ytupdate='y
IPMI CLI Tools
3 Hits, Last modified:
x, a 0 return indicates success.) <code bash> #!/bin/bash BMC_IP="192.168.1.40" User_Name="baumkp" PW... x, a 0 return indicates success.) <code bash> #!/bin/bash BMC_IP="192.168.1.40" User_Name="baumkp" PW... period </code> ====Test Script==== <code bash> #!/bin/bash #Check if on status_on="Chassis Power is on
samba
3 Hits, Last modified:
rogram in Debian Sarge). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spasswo... nes -c "%u machine account" -d /var/lib/samba -s /bin/false %u # This allows Unix groups to be created... ; idmap gid = 10000-20000 ; template shell = /bin/bash # Setup usershare options to enable non-roo
logrotate
1 Hits, Last modified:
home/shared/Myscripts/rotatelog.sh'' is: <code>#!/bin/bash logfile=$1 if [ ! -f $logfile ]; then echo
Time Date Related Setup
1 Hits, Last modified:
o /etc/ntp.conf'' *The [[http://support.ntp.org/bin/view/Servers/NTPPoolServers|NTP Pool Time Servers