SEARCH
TOOLBOX
LANGUAGES
Bash

Bash

From Chaehyun

(Difference between revisions)
Jump to: navigation, search
(Created page with "== 자동으로 암호 입력하기 == * http://isulnara.com/tt/171 <pre> #!/bin/sh tpipe() { sleep 3;echo 'user' sleep 1;echo 'passwd' sleep 1;echo 'who' sleep 1;echo 'exit' sl...")
(자동으로 암호 입력하기)
Line 14: Line 14:
tpipe | telnet localhost
tpipe | telnet localhost
</pre>
</pre>
 +
 +
== today 찾는 스크립트 ==
 +
* date +%Y%m%d-%H%M`

Revision as of 08:30, 4 March 2013

자동으로 암호 입력하기

#!/bin/sh

tpipe() {
sleep 3;echo 'user'
sleep 1;echo 'passwd'
sleep 1;echo 'who'
sleep 1;echo 'exit'
sleep 5
}

tpipe | telnet localhost

today 찾는 스크립트

  • date +%Y%m%d-%H%M`
Retrieved from "http://chaehyun.kr/w/Bash"