Web Hosting Talk







View Full Version : change dir command for telnet?


netastic
02-05-2001, 05:44 PM
what command do you use to change the name of a directory via telnet?

lienzi
02-05-2001, 06:03 PM
mv

netastic
02-05-2001, 06:25 PM
tried it. it would let me change files names with mv but not directory names.

lienzi
02-05-2001, 09:00 PM
what OS are you using?

just use "mv <old dir> <new dir>"

lienzi
02-05-2001, 09:04 PM
are you owner of the directory, do you have root access?

that can be the reason as well.

Cael
02-06-2001, 08:44 AM
I don't have any problem changing directory name with mv.

But I do it all the time with root. (Yea, I use su in my telnet all the time)

So, try to do that with root. Maybe your directory's permission is set for root only.