Solved

filename* appears while doing ls in solaris

Posted on 2004-08-16
4
670 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sed -- search an replace multiple pattern 11 67
UNiX Script filesystem space usage Part2 54 78
Unix/bash: scripted arithmetic 13 93
Unix Script: Loop over all days of a month 17 88
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

911 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

16 Experts available now in Live!

Get 1:1 Help Now