f



what does the star in filename mean

-rwxr-xr-x   1 root     sys        31036 Jan 26  2000 compile*
0
Rick
9/28/2010 12:36:08 AM
comp.unix.solaris 26025 articles. 2 followers. Post Follow

4 Replies
3317 Views

Similar Articles

[PageSpeed] 45

Rick Smith <ricksmith.usenet@gmail.com> writes:
>-rwxr-xr-x   1 root     sys        31036 Jan 26  2000 compile*

Most likely (assuming that there really isn't a * in the filename),
you have done a 'ls -lF' to do basic ls "formatting". 

The -F flag has ls add an * to any file that is a file that is
executable. Not super useful in this case, but more so when you don't
do the 'ls -l' and want to see at a glance if the file is an
executable one.

0
Doug
9/28/2010 12:51:55 AM
On Sep 27, 7:51 pm, Doug McIntyre <mer...@geeks.org> wrote:
> Rick Smith <ricksmith.use...@gmail.com> writes:
> >-rwxr-xr-x   1 root     sys        31036 Jan 26  2000 compile*
>
> Most likely (assuming that there really isn't a * in the filename),
> you have done a 'ls -lF' to do basic ls "formatting".

I did a: ls -al
0
Rick
9/28/2010 1:01:10 AM
On Sep 28, 10:01=A0am, Rick Smith <ricksmith.use...@gmail.com> wrote:
> On Sep 27, 7:51 pm, Doug McIntyre <mer...@geeks.org> wrote:
>
> > Rick Smith <ricksmith.use...@gmail.com> writes:
> > >-rwxr-xr-x =A0 1 root =A0 =A0 sys =A0 =A0 =A0 =A031036 Jan 26 =A02000 =
compile*
>
> > Most likely (assuming that there really isn't a * in the filename),
> > you have done a 'ls -lF' to do basic ls "formatting".
>
> I did a: ls -al

Is ls aliased to something else?

What does

which ls

tell you?

If you do /bin/ls -al do you get the same results?
0
chuckers
9/28/2010 1:25:37 AM
On 2010-09-28 02:25:37 +0100, chuckers said:

> On Sep 28, 10:01�am, Rick Smith <ricksmith.use...@gmail.com> wrote:
>> On Sep 27, 7:51 pm, Doug McIntyre <mer...@geeks.org> wrote:
>> 
>>> Rick Smith <ricksmith.use...@gmail.com> writes:
>>>> -rwxr-xr-x � 1 root � � sys � � � �31036 Jan 26 �2000 compile*
>> 
>>> Most likely (assuming that there really isn't a * in the filename),
>>> you have done a 'ls -lF' to do basic ls "formatting".
>> 
>> I did a: ls -al
> 
> Is ls aliased to something else?
> 
> What does
> 
> which ls
> 
> tell you?
> 
> If you do /bin/ls -al do you get the same results?

Another trick is to precede the command with a backslash to tell the 
shell to skip alias expansion: "\ls -al"
-- 
Chris

0
Chris
9/28/2010 5:23:01 AM
Reply: