Re: what's the meaning of plain text file's executable attribute



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

.



Relevant Pages

  • Re: whats the meaning of plain text files executable attribute
    ... My question is what's the meaningof a plain 's executable attribute ... what's the difference between interrupt and trap. ...
    (comp.os.linux.misc)
  • whats the meaning of plain text files executable attribute
    ... My question is what's the meaningof a plain 's executable attribute ... what's the difference between interrupt and trap. ... software interrupt: divisor is zero... ...
    (comp.os.linux.misc)
  • Re: 8051
    ... It can execute up to 8 task preemptively ... What might be of interest to you is how to get from an interrupt ... mov r1,#2 ... push acc ...
    (comp.arch.embedded)
  • Re: ISR Context
    ... execute a function it needs to be excuted under a task.Some task.But ... conclusion:context here refers to the execution thread.Hence ISR is not ... In processors with out a seperate Interrupt Stack Interrupts execute in ...
    (comp.os.vxworks)
  • Re: MSP430 post RETI behaviour
    ... that at least a line is carried out before servicing the interrupt. ... > read about) will execute the opcode it returns to via its RETI ...
    (comp.arch.embedded)