首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux shell script 经过管道执行 sudo 权限

2013-02-18 
linux shell script 通过管道执行 sudo 权限linux shell script 通过管道执行 sudo 权限:echo password

linux shell script 通过管道执行 sudo 权限
linux shell script 通过管道执行 sudo 权限:

echo "password" | sudo command, 事例:

  1 # !/bin/bash
  2 echo "password" | sudo chown john:john aa



热点排行