Search
You can find the results of your search below.
Fulltext results:
- Back-up Server Old Setup
- l mount point to be unmounted ++++Possible mount script| <code bash> #!/bin/bash #input 1 is the propose... ed, exit with error fi fi </code> ++++ Created script to mount backup1 ''sudo bash ~/Myscripts/mount_ba... ipts/mount_backup1.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk1 to local /mnt/backup1 ... ed, exit with error fi fi </code> ++++ Created script to mount backup2 ''sudo bash ~/Myscripts/mount_ba
- Rsync
- pts/rsync_shared.sh'' #Note this is a local only script and takes no additional batch inputs when run! ++... 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 can eliminate this. One is at the script level and the other is at the system level. If we
- BASH Customisation
- sh_aliases configure configuration bashrc command script .bashrc history sudo visudo dimmer ps kill nightm... startbasic='dcup2 $(cat /home/$BA_USERNAME/docker/scripts/cloudserver/basic-services.txt)' alias stopbasic='dcstop2 $(cat /home/$BA_USERNAME/docker/scripts/cloudserver/basic-services.txt)' alias stopmedia='dcstop2 $(cat /home/$BA_USERNAME/docker/scripts/cloudserver/media-services.txt)' alias startmedi
- NUT (Network UPS Tools) Setup
- this time, including early conversion to systemd scripts. I notice the Techno Tim [[https://docs.technot... configuration is still based upon similar systemd scripts and configuration.** The Ubuntu 16.04 NUT scripts seem to be based upon init.d (located in /etc/init.d... Systemd seems to have a method for legacy init.d scripts and creates scripts in /run/systemd/generator.la
- 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
- samba
- ik.tu-muenchen.de> for # sending the correct chat script for the passwd program in Debian Sarge). passw... fect if 'domain logons' is set # It specifies the script to run during logon. The script must be stored # in the [netlogon] share # NOTE: Must be store in 'DOS' file format convention ; logon script = logon.cmd # This allows Unix users to be creat
- 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.
- Commonly used commands and scripts
- ctl journalctl}} ======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