Shammer's Philosophy

My private adversaria

2015-10-07から1日間の記事一覧

Automate the operation started from ssh login

I would like to automate the CLI operation started from ssh login. This may be a useful if you would like to repeat the similar command. This can be come true with sshpass. Here is a sample. for i in `seq 1 10`;do (echo "somecommand 1";ech…