Solved

filename* appears while doing ls in solaris

Posted on 2004-08-16
4
673 Views
Last Modified: 2013-12-27
On Solaris 9.0,
when I do ls -l some filenames have * after them.
For e.g if filename is xyz.cpp, it appears like xyz.cpp*
Can someone please explain what does it mean/indicate?
Is it got to do with the versioning system we are using? SCCS?
Thanks
0
Comment
Question by:dkamdar
4 Comments
 
LVL 18

Accepted Solution

by:
liddler earned 125 total points
ID: 11811064
Not sure about Solaris 9 but in earliler doing ls -F puts an asterix after executeables.

Do you have ls aliased to ls -F ?

type:
alias
to find your list of aliases
0
 
LVL 48

Expert Comment

by:Tintin
ID: 11815308
Either your profile or the system wide profile will have aliased ls.

If you don't like that behaviour, you can turn it off with

unalias ls
0
 
LVL 4

Expert Comment

by:anon1m0us
ID: 11816447
I have to agree with Tintin & Lidder. All the Asterik means is  the files with a trailing asterisk is an executable.

If you do an ls -l and it appears, it might be defined as an alias. You should follow the two above suggestions to remove the alias. However, it is a no biggie.

Here are some other signs you might see.

Directories are marked with a trailing slash (`/'), and symbolic links with  a  trailing  at-sign  (`@').

All this is occurs if you do ls -F
0
 
LVL 4

Expert Comment

by:Otetelisanu
ID: 11817677
You can make

\ls -l
and is only ls not alias.

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question