Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help to make short name web directory
#1
Hello,

my web directory is /var/www/html/long-name-directory

retrieved from the website http://192.168.100.10/long-name-directory-file

I need to shorten it. http://192.168.100.10/dir

Regards
Reply
#2
In response to your inquiry, I recommend using the ""mv"" command to move or change the directory name / file name from the current location to the new location.

For instance, mv /var/www/html/long-name-directory /dir/long-name-directory

mv /var/www/html/long-name-directory /var/www/html/dir rename file name
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)