Search
You can find the results of your search below.
Matching pagenames:
Fulltext results:
- Back-up Server Old Setup
- e to set up was some of the worst I have found to date for Linux in the modern day. It is the only solu... vg0/xen-home/ # EXAMPLE.COM #backup_exec /bin/date "+ backup of example.com started at %c" #backup r... :/var/db/dump/ example.com/ #backup_exec /bin/date "+ backup of example.com ended at %c" # CVS.SOUR... vg0/xen-home/ # EXAMPLE.COM #backup_exec /bin/date "+ backup of example.com started at %c" #backup r
- Rsync
- *''-a'' is the flag for archive. Keeps original dates and permissions on copy and also recurses, copie... n destination files (based upon file modification dates) *''%%--delete%%'' deletes files on the destin... is script echo "rsync wrapper script executed on `date`" >> $LOG echo "options passed to rsync: " $@ >> ... o large. # Capture scripts start time STARTTIME=`date +%s` # Location of the Log file LOG="/home/backu
- Commonly used commands and scripts
- d statement to allow desired functionality. ''[ $(date +%-d) -le 7 ] && command'' means the command will only be run if the date day of month is less than or equal to 7. Similar... if the day of week is 3 (Wednesday).\\ See ''man date'' for information on the date function and return formats. ---- =====man / ap
- systemd Stuff
- edatectl'' to print current time date on cli\\ ''Date'' to print basic time date only on cli\\ ''timedatectl list-timezones'' to ... emd/man/systemd.time.html|systemd.time — Time and date specifications]] and [[https://www.freedesktop.or
- BASH Customisation
- n mixed up! Aug 23 2022 or Jan 1 11:44 for nearer dates. * ''iso'' gives 2023-01-23 for more th... s file:| <code bash> # This is my current / up-to-date list of bash aliases. # This is the exact same fi... ENT alias gcpush='echo "Usage: gcommit ../commits/date.txt" ; cd /home/$BA_USERNAME/docker ; bash script... I do not see much value in the prompt showing the date as this is shown on the main GUI screen. Referen
- SSH Notes
- r/bin/python3 import psutil import platform from datetime import datetime import cpuinfo import socket import uuid impo... boot_time_timestamp = psutil.boot_time() bt = datetime.fromtimestamp(boot_time_timestamp) print(
- Time Date Related Setup
- {{tag>linux debian chrony ntp time date timedatectl timezone timezones}} =====Time Date Related Setup===== ====Setup NTP server==== The NTP se... tectl'' command to interogate and modify time and date information as required, mainly used to set local... 'timedatectl status'' to list current system time date information. *''timedatectl list-timezones'' to
- NUT (Network UPS Tools) Setup
- e time ago, so this will not necessarily be up to date. It turns out the ''nutdrv_qx'' driver is usuall... str2=$(echo "$str1" | grep "ups.status:") echo $(date +"%Y-%m-%d %H:%M:%S") | awk '{printf "%s ", $0}'... e> *A script file to rotate a log file out to a dated gzip log file, with a new empty log file, the lo... g file not found $logfile" exit 1 fi timestamp=`date +%Y%m%d` newlogfile=$logfile.$timestamp cp $logfi
- logrotate
- g file not found $logfile" exit 1 fi timestamp=`date +%Y%m%d` newlogfile=$logfile.$timestamp cp $logfi
- NFS
- re. Sadly a number of resources I use seem out of date, not updated and/or possible subject to disappear
- Webmin
- 8-04|How To Install Webmin on Ubuntu 18.04]]. To date I have only used Webmin on my main home server, n
- Calibre Server
- nload_linux|Calibre Download for Linux]] *A bit dated from DigitalOcean: [[https://www.digitalocean.co