[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 09 Jun 2001 22:58:04 -0500
Under Linux 7.0 with bash 2.04.11:
If I'm in /etc/init.d dir, and want to edit /etc/dhcpd.conf, I go
However, this doesn't work.
It seems that if you cd into a link to a directory, when you attempt to use
"up one directory" it
follows the "real" path, insted of the "linked" path.
When you do a pwd, it reports the "linked" path, not the "real" path.
/etc/init.d is a link to /etc/rc.d/init.d.
Here are some screen clips:
address@hidden /root]# cd /etc/init.d
address@hidden init.d]# pwd
address@hidden init.d]# cd ..
address@hidden /etc]# ls -ld init.d
lrwxrwxrwx 1 root root 11 May 30 17:18 init.d -> rc.d/init.d
Hope I gave you what you need to see the problem, or tell me to soak my
head for being stupid!
Have a good one.