Re: Setting default $PATH for all users
On 2019-02-11, rhkramer@gmail.com <rhkramer@gmail.com> wrote:
> On Monday, February 11, 2019 08:07:24 AM Curt wrote:
>> On 2019-02-11, rhkramer@gmail.com <rhkramer@gmail.com> wrote:
>> > There is a directory /etc/sket (with all hidden files thus you need
>> > something like ls /etc/skel/.* to get a listing).
>>
>> I believe you need something like 'ls -a /etc/skel/', in fact, to see those
>> pesky dot files.
>
> You're right.
I'm wrong because your command does output the dot files, as a matter of
fact (and so much more I didn't bother scrolling up to notice that it
did indeed show those hidden files).
I follow your logic. Give me everything in /etc/skel/ beginning with a dot.
Which works. But apparently a dot is also something else. Like a directory.
curty@einstein:~$ ls /etc/skel/.*
/etc/skel/.bash_logout /etc/skel/.bashrc /etc/skel/.profile
/etc/skel/.:
/etc/skel/..:
(etc.--the contents of /etc/
I'm not sure what it all means.
>> Your command, actually, have you tried it?
>
> Of course, for a command that simple, I almost always try it, and I got plenty
> of results that, at first glance, seemed plausible, but looking back, they were
> wrong.
>
>> It produces results that are
>> different from what you expected, I think.
>
>
Reply to: