用户编写了一个文本文件file,想将该文件名称改为text,下列能实现该功能的命令是()。
A.
cd file text
B.
echo file > text
C.
rm file text
D.
cat file text
正确答案是B