- 使用mv命令
mv: cannot move ‘index.html’ to ‘demo/index.html’: No such file or directory
mv index.html demo/index.html
解决方案:
mv index.html demo/
- Linux中使用cp命令报
cp:omitting directory
错误
cp tomcat/ ./tomcat2
解决方案:
cp -r tomcat/ ./tomcat2
mv: cannot move ‘index.html’ to ‘demo/index.html’: No such file or directory
mv index.html demo/index.html
解决方案:
mv index.html demo/
cp:omitting directory
错误cp tomcat/ ./tomcat2
解决方案:
cp -r tomcat/ ./tomcat2