To rename the file, do the same again, but this time use mv rather than rm.
要对该文件进行重命名,可以再次进行相同的操作,但这一次使用mv而不是rm。
In command 3, the error messages produced by rm are captured in the file named errors.
在命令3中,rm产生的错误消息被重定向到errors文件中。
Of course, the first time you run this script the rm statement fails, because the file does not exist.
当然,第一次运行该脚本的时候,rm语句将会失败,因为该文件并不存在。
For example, "delete this file" is the purpose of the rm command in Unix.
例如,“删除这个文件”是unix下rm命令的目的。
For example, "delete this file" is the purpose of the rm command in Unix.
例如,“删除这个文件”是unix下rm命令的目的。
应用推荐