[HLUG] cd command unknown in my system!

Julian Robbins joolsr at fastmail.fm
Sat Jan 14 01:40:04 GMT 2006


Graham Cole wrote:

>Hi John
>I'm trying to put in a link to get my djview (an essential viewer for
>the 1837online website) working as a plugin after upgrading my Mozilla
>browser. I have two commands to use for doing this, firstly
> $ sudo cd /usr/lib/mozilla-firefox/plugins
>That resulted in this error line: 
>sudo: cd: command not found
>  
>
I found something similar on Ubuntu. If you cd to a location owned by 
root, you can do thsi without sudo. When using sudo with cd makes Ubuntu 
complain.

I found it a bit strange too !!

Julian


>Using that echo command gave:
>gc1 at localhost:~ $ echo $SHELL
>/bin/bash
>
>I'm puzzled.
>
>Thanks,
>Graham
>
>On Fri, 2006-01-13 at 09:54 +0000, John Hedges wrote:
>  
>
>>On Thu, Jan 12, 2006 at 08:51:37PM +0000, Graham Cole wrote:
>>    
>>
>>>I can't believe it but the command cd is not available to me and there
>>>is also no man page for it.
>>>So has it been superseded by something else? I have the latest Ubuntu.
>>>-- 
>>>Best wishes
>>>
>>>Graham
>>>      
>>>
>>Hi Graham
>>
>>What is it you trying to do and are you getting any error messages?
>>
>>cd is implemented by your shell, which is why there is no specific man
>>page or binary. Have a look at the man page for your shell. To find out
>>which shell you are using, open a console window and type 'echo $SHELL'
>>at the command prompt. 
>>
>>Cheers
>>
>>John
>>
>>
>>_______________________________________________
>>Herefordshire mailing list
>>Herefordshire at mailman.lug.org.uk
>>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>>
>>    
>>
>
>
>_______________________________________________
>Herefordshire mailing list
>Herefordshire at mailman.lug.org.uk
>http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>  
>




More information about the Herefordshire mailing list