trying to CD as sudo.
Dazed_75
lthielster at gmail.com
Thu Sep 9 12:38:07 MST 2010
BTW, you could learn some of these answers yourself. If you do a google
search on "sudo: cd: command not found", you will find a plethora of other
people asking the same thing and the answers they got.
On Thu, Sep 9, 2010 at 12:35 PM, Dazed_75 <lthielster at gmail.com> wrote:
> 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 <klsmith2020 at yahoo.com>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 - PLUG-discuss at lists.plug.phoenix.az.us
>> 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
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100909/9b32570a/attachment.html>
More information about the PLUG-discuss
mailing list