SEARCH
TOOLBOX
LANGUAGES
Bash

Bash

From Chaehyun

Jump to: navigation, search

자동으로 암호 입력하기

#!/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`
Retrieved from "http://chaehyun.kr/w/Bash"