Linux 下自动输入键盘命令
#!/bin/bash
sleep 25
#xdotool keydown ctrl+n; xdotool keyup ctrl+n;
xdotool key Tab;
sleep 1
xdotool type ‘username’;
sleep 1
xdotool key Tab;
sleep 1
xdotool type ‘password’;
sleep 1
xdotool key Tab
sleep 1
xdotool key Return;