LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   linux file formats name* (https://www.linuxquestions.org/questions/mandriva-30/linux-file-formats-name%2A-343070/)

arnekasper 07-14-2005 04:59 AM

linux file formats name*
 
hello guys,
Yes I am a new bie.
I have tried to find a clear and comprehensive overwiew on file formats.
Specially i am interested the meaning of
xxxxxxx* as compared to same name without the star.
Anybody have a link to anice site?

Arne:confused: :)

nixcraft 07-14-2005 05:23 AM

No idea about site, but you can use the file command to get more info on file. For example

Code:

file file-name

reddazz 07-14-2005 07:52 AM

The star is called a wildcard. A wildcard is a place holder for one or more letters in a filename. If you go to linuxcommand.org or search on this site and google, you will get good documentation regarding your questions.

Aaack 07-14-2005 08:28 AM

Well if you see the asterisk on the midnight commander after a file it means it's an executable file.
you see, in windows the exectuable atribute is given bye the extension (exe, bat, pif, com, etc) in linux it could be any file, the executable atribute is ... well an atribute you can add to any file.
It's common to see all windows files (in a fat32 partition) as exectuables, even if it's not (like a jpg).
So, go to a console and check for example the directory /usr/bin (user->binaries) it's full of executables, therefore you'll see a lot of asterisks, but if you check your own /home/user, you'll see there's a lot of invisible files (wich started with a period i.e: ".xsession") which are not executables.
You can change this attribute (in mc on a console) by pressing <Ctrl>+<x> following the key <c> or in kde/gnome by doing right cilck and check the file permissions.

I guess that's what you've asking.

Good luck!

arnekasper 07-14-2005 08:43 AM

Hello Guys,
Thanks. right to the point and fast.
Very usefull for me.


All times are GMT -5. The time now is 08:16 AM.