Page 1 of 1

File attributes

PostPosted: May 21st, '11, 23:07
by Glenn
At least I think that is what it would be called. I've noticed asterisks after file extensions on a few files. This is the first time I've ever seen something like this. What is their purpose please?
Code: Select all
-rwxrwxr-x  1 glenn glenn    142 May 21 16:58 .ck.sh*

This file was copied over from another partition / distribution (Fedora). It is used to start conky once the desktop is up.
Code: Select all
[glenn@mageia ~>$ cat .ck.sh
#!/bin/bash
sleep 10 &&
conky -c /etc/conky/conky.conf -q
# .ck.sh for the Toshiba laptop while running
# Mageia Linux. Last edited 05.21.11

Re: File attributes

PostPosted: May 22nd, '11, 00:22
by jkerr82508
It means that the file is executable - it can be run as a "program". Your quoted script file is an example of such a file.

Jim

Re: File attributes

PostPosted: May 22nd, '11, 01:39
by Glenn
No kidding? OK. I must then assume that the asterisk probably wasn't there until I ran chmod +x .ck.sh

Thank you for the reply.