10-14-2021, 10:45 AM 
		
	
	
		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
	
	
	
	
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

 

 
