For whatever reason, my external harddrive pretty regularly experiences initramfs issues on boot, causing me to run
$ fsck /dev/sdb2 -y to bring everything back in line.
One thing I have noticed though, is that shutting down or restarting the system with the titled command greatly reduces the occurrence of this error.
Is there any way to create a script or terminal alias that would "go through the motions" of pressing those keys (with a small delay between each letter)? So rather than play digital gymnastics with my fingers and toes, I could simply type
$ reisuo and it would go through the motions for me?