-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you are using bash, it has a built in command called pwd. Type 'finger -m username'. You can also look in /etc/passwd to see what shell your user is supposed to use.
There may be more than one version installed. What happens when you type 'which pwd' without the quotes? Can you open another session on this box either with ssh or ALT-F<num>? Cheers, Martin Glazer wrote: > Hey, > > I'm using a gentoo system and it is failing during an update, however the > problem exists at the command line. pwd appears to work when one just types > it in, but if giving the full pathname to pwd, it fails. > > ~ # pwd > /root > ~ # /bin/pwd > /bin/pwd: cannot get current directory: Invalid argument > ~ # which pwd > /usr/bin/pwd > ~ # /usr/bin/pwd > /usr/bin/pwd: cannot get current directory: Invalid argument > ~ # ll /usr/bin/pwd > lrwxrwxrwx 1 root root 8 Feb 7 16:25 /usr/bin/pwd -> /bin/pwd > ~ # ll /bin/pwd > -rwxr-xr-x 1 root root 13700 Feb 7 16:25 /bin/pwd > > Any ideas? > > Martin > > _______________________________________________ > clug-talk mailing list > [email protected] > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD67ZmwRXgH3rKGfMRAiHMAJ4/sXcfVA/z93eWyJrqX2WJDvYVqgCdHJeg tYeZiUM/EuVQvg/9DJ1FpLc= =eMJk -----END PGP SIGNATURE----- _______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

