Re: what's the meaning of plain text file's executable attribute
- From: Chris <ithinkiam@xxxxxxxxx>
- Date: Tue, 28 Feb 2006 12:48:25 +0000
DaVinci wrote:
Q1:
a plain text file name aa.txt
/home/apple/study/note $ ls -l aa.txt
-rwxrwxrwx 1 apple apple 42 Feb 28 20:02 aa.txt
My question is what's the meaningof a plain 's executable attribute
,it is "x" bit.
as I know,a plain text file can't be executed. only the executable
file ,such as /usr/bin/xpdf should have the attribute of 'x'. so there
is no meaning for the plain text file to have the 'x' attribute,is it
right?
Plain text files /can/ be executed. Many programming/scripting languages
run from plain text files. It's only what's in a file that determines
whether the x attribute is meaningful or not, not whether it's a binary
or a text file.
.
- Follow-Ups:
- References:
- Prev by Date: Re: How to count the number of threads
- Next by Date: Re: How to count the number of threads
- Previous by thread: what's the meaning of plain text file's executable attribute
- Next by thread: Re: what's the meaning of plain text file's executable attribute
- Index(es):
Relevant Pages
|