bin

Search

You can find the results of your search below.

Back-up Server Old Setup
57 Hits, Last modified:
gerfs 0 0 #/media/Disk1 /export/Disk1 bind bind 0 0 #/media/Disk2 /export/Disk2 bind bind 0 0 /media/Disk4 /export/Disk4 bind bind 0 0 /home/shared
Rsync
37 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
NFS
14 Hits, Last modified:
://www.quora.com/What-are-the-differences-between-bind-mounts-and-symlink-on-Unix|What is a bind mount?]] *[[https://www.quora.com/What-are-the-differences-between-bind-mounts-and-symlink-on-Unix|What are the differences between bind mounts and symlink on Unix?]] Some other intere
NUT (Network UPS Tools) Setup
9 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
samba
6 Hits, Last modified:
# # The specific set of interfaces / networks to bind to # This can be either the interface name or an... eferred ; interfaces = 127.0.0.0/8 eth0 # Only bind to the named interfaces and/or networks; you mus... ynamic or non-broadcast interfaces correctly. ; bind interfaces only = yes #### Debugging/Accounting... rogram in Debian Sarge). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spasswo
BASH Customisation
4 Hits, Last modified:
r than for the link itself * ''-h'' : use binary abbreviation (e.g. 1k 10G 2T, etc.) * '... 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
logrotate
1 Hits, Last modified:
home/shared/Myscripts/rotatelog.sh'' is: <code>#!/bin/bash logfile=$1 if [ ! -f $logfile ]; then echo
Commonly used commands and scripts
1 Hits, Last modified:
module | ✔ | ✘ | ✔ | | php-igbinary | php binary type storage | ✔ | ✔ | ✔ | | php-imagic
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
VIM Editor
1 Hits, Last modified:
nocompatible==== Original vi had some strange key bindings, e.g. the cursor keys did not function. the