sudo -1 vs sudo (was Re: sudo cd... command not found?)

2022-12-25 Thread Rusty Carruth via PLUG-discuss
th Smith via PLUG-discuss wrote: Hi, Not sure what is going on here: cd results in message "-bash: cd: : Permission denied". Then I add sudo : sudo  cd results in message  : "sudo: cd: command not found". Any help is much appreciated!! Keith --

Re: sudo cd... command not found?

2022-12-22 Thread Keith Smith via PLUG-discuss
ure what is going on here: cd results in message "-bash: cd: : Permission denied". Then I add sudo : sudo cd results in message : "sudo: cd: command not found". Any help is much appreciated!! Keith --- PLUG-discuss mailing

Re: sudo cd... command not found?

2022-12-22 Thread Bob Elzer via PLUG-discuss
Here's a question System V or BSD ? lol When I started using Unix (Dec Ultrix) there was no bash, there was sh and csh and I could do so much more in csh. The thing I liked most was command line completion.and cdpath which I could type cd bin and change to /usr/local/bin instead of /bin or which ev

Re: sudo cd... command not found?

2022-12-21 Thread Keith Smith via PLUG-discuss
: "sudo: cd: command not found". Any help is much appreciated!! Keith --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/l

Re: sudo cd... command not found?

2022-12-21 Thread Keith Smith via PLUG-discuss
here: cd results in message "-bash: cd: : Permission denied". Then I add sudo : sudo cd results in message : "sudo: cd: command not found". Any help is much appreciated!! Keith --- PLUG-discuss mailing list: PLUG-discus

Re: sudo cd... command not found?

2022-12-21 Thread Joe Neglia via PLUG-discuss
Slightly OT: Bob, since you are using tcsh, you can probably answer a question I have had for decades: what is the reason for using tcsh (or, for that matter, any terminal other than the usual default of bash)? On Wed, Dec 21, 2022 at 10:49 AM Bob Elzer via PLUG-discuss < plug-discuss@lists.phxl

Re: sudo cd... command not found?

2022-12-21 Thread Bob Elzer via PLUG-discuss
the next 3. If you are neither the owner nor IN the > group that owns the file, then look at the last 3. To change in to a > directory you need execute permissions (you can, in fact, 'cd' into a > directory that you do not have read permissions to! But, of course, you >

Re: sudo cd... command not found?

2022-12-20 Thread Rusty Carruth via PLUG-discuss
ou do not have read permissions to!  But, of course, you can't see anything in it!  Try it. 'mkdir foo;chmod 100 foo;cd foo;ls -l'). So, after much ado, we have finally come to the conclusion that some directory in 'path' does not have the 'x' permission for you

Re: sudo cd... command not found?

2022-12-20 Thread greg zegan via PLUG-discuss
results in message  :  "sudo: cd: command not found". Any help is much appreciated!! Keith --- PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.

Re: sudo cd... command not found?

2022-12-20 Thread Bob Elzer via PLUG-discuss
t; > Then I add sudo : sudo cd results in message : "sudo: cd: > command not found". > > Any help is much appreciated!! > > Keith > --- > PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org > To subscrib

sudo cd... command not found?

2022-12-20 Thread Keith Smith via PLUG-discuss
Hi, Not sure what is going on here: cd results in message "-bash: cd: : Permission denied". Then I add sudo : sudo cd results in message : "sudo: cd: command not found". Any help is much appreciated!! Keith ---