script

Search

You can find the results of your search below.

Back-up Server Old Setup @home_server:home_server_setup:other_services
44 Hits, Last modified:
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 @home_server:home_server_setup:other_services
29 Hits, Last modified:
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 @home_server:home_server_setup:other_services
24 Hits, Last modified:
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 @home_server:home_server_setup:other_services
14 Hits, Last modified:
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 @home_server:home_server_setup:other_services
12 Hits, Last modified:
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 @home_server:home_server_setup:other_services
7 Hits, Last modified:
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 @home_server:home_server_setup:other_services
7 Hits, Last modified:
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 @home_server:home_server_setup:other_services
5 Hits, Last modified:
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
VNC Server
2 Hits, Last modified:
c/xstartup'' *I set up cron to run the following script at boot: ''vim ~/Myscripts/StartVNC.sh'', StartVN... /vncserver -geometry 2350x1335 </code> *The cron script statement is ''/home/homedirectory/Myscripts/Star
logrotate @home_server:home_server_setup:other_services
2 Hits, Last modified:
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 @home_server:home_server_setup:other_services
2 Hits, Last modified:
itution * Hyperlinks, with configurable actions Scriptable:\\ * Control from scripts or the shell *Extend with kittens using the Python language *Use star
KVM Setup
1 Hits, Last modified:
or: *viewing and editing files inside guests *scripting changes to VMs *monitoring disk used/free st
VIM Editor @home_server:home_server_setup:other_services
1 Hits, Last modified:
fold | =====Vim Resource File===== Using Vim's scripting language (and a great deal of insight and tool