Search
You can find the results of your search below.
Matching pagenames:
Fulltext results:
- Rsync
- |preserve permissions| |''-t''| ''%%--%%times'' |preserve modification times| |''-o''| ''%%--%%owner'' |preserve ow... >> $LOG 2>&1 EXITSTATUS=$? # Capture scripts end time and calculate run time ENDTIME=`date +%s` INTERVAL=$((ENDTIME - STARTTIME)) RUNTIME="$(($INTERVAL / 60)) min. $(($INTERVAL % 60)) sec." #... Now execute the script, also capture scripts end time, calculate run time, # and send status notification to Pushover app (
- systemd Stuff
- 'Date'' to print basic time date only on cli\\ ''timedatectl list-timezones'' to set available time zones\\ ''sudo timedatectl set-timezone australia/perth'' to set timezone\\ Some links: *Arch Linux [[https://wiki.archlinux.org/index.php/Systemd/T... /www.freedesktop.org/software/systemd/man/systemd.time.html|systemd.time — Time and date specifications]] and [[https://www.freedesktop.org/software/systemd/man/systemd.timer.html|systemd.timer — Timer unit configuration]] ---- <- home_server:home_
- BASH Customisation
- * ''full-iso'' is same as long-iso, except time time is to the nanosecond and local timezone delta is displayed * The ''TIME_STY... ut=30''\\ This will change the default 15 minutes time out to 30 minutes. Changing the timestamp_timeout=0 will require the sudo password at every use.... ll never expire.\\ \\ ''sudo -k'' resets the sudo timeout and password must be entered again next time sudo is used.\\ \\ The default timeout seems pret... https://ostechnix.com/how-to-change-sudo-password-timeout-in-linux/|Change Sudo Password Timeout in Linux]] ------- =====Display Brightness Co
- Time Date Related Setup
- {{tag>linux debian chrony ntp time date timedatectl timezone timezones}} =====Time Date Related Setup===== ====Setup NTP server==== Th... meters. The following commands are typical: *''timedatectl'' and ''timedatectl status'' to list current system time date information. *''timedatectl list-timezones'' to list available time zones in timedatectl. *''sudo timedatectl set-timezone Australia/Perth'' to change timezone to desired. ---- <- home_server:home_server_setup:other_services:snapraid|
- Conky
- tem: ${tab 50}$color$nodename ${alignr}${color0}Uptime: $color$uptime ${color0}Kernel: ${tab 50}$color$kernel${alignr}$... olor0}System: $color$nodename ${alignr}${color0}Uptime: $color$uptime ${color0}Kernel: $color$kernel${alignr}${color0}A... tem: ${tab 50}$color$nodename ${alignr}${color0}Uptime: $color$uptime ${color0}Kernel: ${tab 50}$color$kernel${alignr}$... olor0}System: $color$nodename ${alignr}${color0}Uptime: $color$uptime ${color0}Kernel: $color$kernel${alignr}${color0}A
- NUT (Network UPS Tools) Setup
- er Otima II 1.1K in 2014 and setup NUT about this time, including early conversion to systemd scripts. ... is not simple to follow. I set this up quite some time ago, so this will not necessarily be up to date. ... tery.charge.restart=30 default.battery.runtime.low=420 default.battery.runtime.restart=180 </code> <code> upsd.conf LISTE
- Manjaro Setup Notes
- olor0}System: $color$nodename ${alignr}${color0}Uptime: $color$uptime ${color0}Kernel: $color$kernel${alignr}${color0}A... ENTION: This command only works, when your system time is set correctly, becasue checking and importing keys or fingerprints is time sensitive! Please make sure of that before you run FIX ERRORS. If you have not set your timezone and/or summer saving time, you should still be able to import keys, though.\\ ATTENTION: This command might take a long time to complete. If your system appears to stop or ha
- SSH Notes
- e print("="*40, "Boot Time", "="*40) boot_time_timestamp = psutil.boot_time() bt = datetime.fromtimestamp(boot_time_timestamp) print(f"Boot Time: {bt.year}/{bt.month}/{bt.day} {bt.hour}:{bt.minute}:{bt.second}") # p
- Commonly used commands and scripts
- d based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including ... will be run when either field matches the current time. For example, "30 4 1,15 * 5" would cause a comm... tput to a pager, so you can read it one page at a time, with netstat -anp | less. Or, you might instead ... or open network sockets belonging to apache. This time, let's say we want to know which program opened a
- Fail2Ban
- wall (IPTables) to restrict (stop for a period of time) these activities. So fail2ban limits incorrect a... reip = 127.0.0.1/8 ::1 192.168.1.0/24'' *''bantime = 60m'' *''findtime = 60m'' *''maxretry = 4'' *then adjust each jail to be activated: *... " in jail.local: enable = true mode = more bantime = 12h port = smtp,465,submission logpath = %(p
- Linux Block Device Notes
- is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Sep 14 11:21:22 2025 AWST SMART suppor... nto standby mode after reboot and set the standby time create and use on boot systemd service. ++++/etc/... able, get and set the value of the infamous idle3 timer found on recent Western Digital Hard Disk Drives
- logrotate
- tate logs. -Using a script and cron (or systemd.timer) -Using ''logrotate'' ====Logrotate using scr... echo "log file not found $logfile" exit 1 fi timestamp=`date +%Y%m%d` newlogfile=$logfile.$timestamp cp $logfile $newlogfile cat /dev/null > $logfile gzi
- IPMI Console Setup
- b -n 'Simple configuration' GRUB_DEFAULT=0 #GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT_STYLE=menu GRUB_TIMEOUT=8 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDL
- Calibre Server
- to reread some of my favorite books. I spent some time to clean the library up, but still need to spend more time. The best solution is on the Calibre website [[h
- snapraid
- nually. ''sudo snapraid touch'' to add sub-second time granularity to the files that improves snapraid u... e_server_setup:other_services|Start page ^ home_server:home_server_setup:other_services:timedate|Next ->