Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-28-2004, 10:09 AM   #1
LQ Newbie
Registered: Jun 2004
Distribution: Red Hat 7.3
Posts: 11

Rep: Reputation: 0
What's the "*" after all my files?

It hasn't caused a problem yet but what the heck does the * mean after all my files when doing an ls It doesn't seam to hurt anything yet. Just annoying.

I am using Slackware 10 and am building an LFS system.

Thanx in advance.
Old 08-28-2004, 10:28 AM   #2
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
Some of the times I see this associated with binary files. I used to notice that too while I used Slackware not to long ago and I would, 'cd /bin; ls -l'. (I'd only notice this with a colored 'ls' in terminal only.) Although you are right, it doesn't hurt anything. I guess it is just there to indicate that it's a binary file as to a directory, or text file.
Old 08-28-2004, 10:30 AM   #3
Registered: Oct 2003
Posts: 568

Rep: Reputation: 30
They are usually bin executables.
Try this to be sure (you can do this with anything)
user@machine$ file <filename>
For instance:

adam@ExMachina:/boot$ file bzImage
bzImage: x86 boot sector
adam@ExMachina:/boot$ file boot_message.txt
boot_message.txt: ASCII English text
Old 08-28-2004, 10:54 AM   #4
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
The output is usually derived from an alias on the system.

Type alaias at the command prompt and see if you see something like
alias ls='ls -F'

Look at the man page on ls and you can see the options for coloring file types, etc.

The system very well may have this alias set in something like the system's
/etc/bashrc or /etc/bash.bashrc or even in your own environment files ( ~/.bashrc ) Simply comment it out, or put a line in your .bashrc that reads
unalias ls


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
add "Artist" and "Album Title" to mp3 files powah Linux - Software 2 04-05-2005 03:04 AM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
"ifcfg-ethx" and "network-functions" files peok Linux - Networking 12 08-13-2003 06:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration