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