Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17838

Can I do the equivalent of recording a macro with the Linux shell?

$
0
0

Basically I want to log all my keystrokes and timing, and then be able to play them back and have it actually perform the commands I typed in (not just display them) if that makes any sense. Similar to the script command, except record input instead of output.

Is there a utility to do this? I have ten servers to set up and I can't be fucked writing a shell script for it nor doing it manually.


EDIT: I'm an idiot, I can just record a macro with AutoHotKey and use that. It'd be nice to use a pure command line way to do it, but this'll be way quicker.

EDIT2: that was a disaster. OK, still looking for CLI tools.

EDIT3: ClusterSSH did the trick for my purposes. Thanks everybody.

submitted by xereeto
[link][18 comments]

Viewing all articles
Browse latest Browse all 17838

Trending Articles