Two things:
1-there is no need to sudo for a cd
2-cd is a built-in command, not a separate program that sudo can find

On Thu, Sep 9, 2010 at 12:30 PM, keith smith <[email protected]> wrote:

>
> Hi,
>
> I'm on CentOS 5 and I notice that when I issue a CD command on the CL as
> sudo, such as "sudo cd /var/log/httpd/" I get the message "sudo: cd: command
> not found".  The tab key does not return any results either.
>
> I'm kinda new to sudo.  I used to just become root.  I'm trying to practice
> better behavior.
>
> Thanks for any suggestions.
>
>
>
>
>
> ------------------------
> Keith Smith
>
> ---------------------------------------------------
> PLUG-discuss mailing list - [email protected]
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



-- 
Dazed_75 a.k.a. Larry

The spirit of resistance to government is so valuable on certain occasions,
that I wish it always to be kept alive.
  - Thomas Jefferson
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to