This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ~/bin/xstart.sh | |
# | |
# alias xstart='[ -z "${DISPLAY}" ] && exec ${HOME}/bin/xstart.sh' | |
# | |
# now that X starts on the same virtual console the user is logged in, | |
# it is not a security risk | |
# | |
# when X always started on virtual console 7, then someone else could |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
arch=x86_64 | |
base_packages=https://repo.almalinux.org/almalinux/9.0/BaseOS/$arch/os/Packages | |
alma9key=RPM-GPG-KEY-AlmaLinux-9 | |
workdir=$(pwd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./Example58 | |
d/m/y | |
30-5-21 00:18:36 : 30-5-21 00:18:36 | |
05-05-1752 15:50 : 5-5-52 15:50:00 | |
05-05-1999 15:50 : 5-5-99 15:50:00 | |
5-5 13:30 : 5-5-21 13:30:00 | |
5 1:30PM : 5-5-21 13:30:00 | |
d/m/y | |
Number of days between 1-9-52 15:00:00 and 16-9-52 15:00:00 : 15 |