Centos 如何将.tar.gz文件从一个目录移动到另一个目录
我有一个文件latest.tar.gz我必须把这个文件移到另一个文件夹 示例:文件位于root/home/phani路径中Centos 如何将.tar.gz文件从一个目录移动到另一个目录,centos,Centos,我有一个文件latest.tar.gz我必须把这个文件移到另一个文件夹 示例:文件位于root/home/phani路径中 i have to move this file to root/san/newwebsite/ 我是centOS的新手,请帮我摆脱这一困境。在shell窗口中,键入: mv /root/home/phani/latest.tar.gz /root/san/newwebsite/ 在shell窗口中,键入: mv /root/home/phani/late
i have to move this file to root/san/newwebsite/
我是centOS的新手,请帮我摆脱这一困境。在shell窗口中,键入:
mv /root/home/phani/latest.tar.gz /root/san/newwebsite/
在shell窗口中,键入:
mv /root/home/phani/latest.tar.gz /root/san/newwebsite/
它显示mv:cannotmove'/root/home/phani/latest.tar.gz'到'/root/san/newwebsite/':权限被拒绝这不再是编程问题。您是以哪个用户的身份运行该命令的?确保您具有适当的权限。或者以
root
user的身份运行该命令。它显示mv:cannot move'/root/home/phani/latest.tar.gz'到'/root/san/newwebsite/':权限被拒绝,这不再是编程问题。您是以哪个用户的身份运行该命令的?确保您具有适当的权限。或者以root
user.mv current\u file new/pathmv current\u file new/path的形式运行该命令