单项选择题

shell脚本中,读取从键盘输入的值给变量x的语句为()。

A.echo x
B.print x
C.write x
D.read -p x