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语句将会失败,因为该文件并不存在。
Of course, the first time you run this script the rm statement fails, because the file does not exist.
当然,第一次运行该脚本的时候,rm语句将会失败,因为该文件并不存在。
应用推荐