I am wondering if it is possible to run a command without keyboard.
Actually, I would like to run dmesg
and save the output into a text file. I have written previously a bash script which does the job, and without keyboard I can log in to the Guest account, but I cannot run the script. Even if I make it executable, it doesn't run if I double-click on it.
So, is there a way to run a command or a script without using keyboard?
sh <your_script>
. – g_p Aug 17 '14 at 15:25