2010-07-14 3 views

답변

1

아마 다음과 같은 것이 도움이 될 수 있습니다 ...

expect -c 'spawn mysql -uroot -p; expect assword; send "toor\n"; interact' 

... 내가 제대로 질문을 이해했다.