Solved

filename* appears while doing ls in solaris

Posted on 2004-08-16
4
668 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
You can make

\ls -l
and is only ls not alias.

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now