ubuntu move files

Example: Suppose I have a file index.jsp in /home/web folder and I want to move it to /home/tomcat/webapps folder.

1. cd to the target file directory

cd /home/web

2. Mobile

sudo mv index.jsp /home/tomcat/webapps

3. When prompted to enter a password, enter the password.

4. No error is reported, the move is successful.

Reprinted from: https://blog.csdn.net/liyuxing6639801/article/details/65637784

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324885890&siteId=291194637