Bash
From Chaehyun
(Difference between revisions)
(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...") |
(→today 찾는 스크립트) |
||
(One intermediate revision not shown) | |||
Line 14: | Line 14: | ||
tpipe | telnet localhost | tpipe | telnet localhost | ||
</pre> | </pre> | ||
+ | |||
+ | == today 찾는 스크립트 == | ||
+ | * today=`date +%Y%m%d-%H%M` |
Latest 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 찾는 스크립트
- today=`date +%Y%m%d-%H%M`