You could write a function that does both:
set_both_clocks() {
date "$@"
hwclock -w
}
Give it the exact same arguments you'd give to date when setting the system clock.
You could write a function that does both:
set_both_clocks() {
date "$@"
hwclock -w
}
Give it the exact same arguments you'd give to date when setting the system clock.