1.sudo -S 能夠進行用管道傳遞參數html
-S The -S (stdin) option causes sudo to read the password from the standard input instead of the terminal device. The passwordspa
must be followed by a newline character.htm
2.追加文本到textview中terminal
http://www.xuebuyuan.com/2104131.html 用textstorage,很方便input