Re: what's the meaning of plain text file's executable attribute
- From: ray <ray@xxxxxxxxxx>
- Date: Tue, 28 Feb 2006 09:41:09 -0700
On Tue, 28 Feb 2006 04:30:49 -0800, 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?
It can certainly be 'executed' if it is a script. And it will not
'execute' without the 'x' bit set.
Q2:
what's the difference between interrupt and trap.
what I know is that interrupt include software interrupt and hardware
interrupt.
handware interrupt : I/O ,NMI...
software interrupt : divisor is zero...
divisor is zero is a trap.
but,what's more about the difference?
thanks very much .
davinci
.
- References:
- Prev by Date: Re: Good C++ development environment (read: debugger) for LINUX
- Next by Date: Re: make rpm packages for all linux distributions
- Previous by thread: Re: 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
|