Re: Unix Runnable format
- From: bb <spamtrap@xxxxxxxxxxxx>
- Date: Thu, 17 Sep 2009 13:51:01 +0200
On 2009-09-16 13:48, Jasen Betts wrote:
On 2009-09-15, undisclosed <undisclosed> wrote:Tha application being used is windows 2003 notepad,
the reason being why i am unabkle to awnser the question myself is
orginally the files were manually copied on the same linux box between
accounts upon completion as a form of test.
However since this has been changed to an assignment i am required to
hand in a CD holding unix runnable format, rather then just do a simple
C&P
in unix the file name does not determine if the file can be executed,
it's the file attributes that do it. recording a CD with unix file
attributes from windows could be tricky.
ask your instructor if you need the file execute permissions set on the cd or if just starting the files with a line like #!/bin/bash -- is enough.
If a file is not set to be executable the shebang is completely ignored.
The only way to run it is to use the file as input to a shell, and it's
your job to choose the right one.
But it was maybe a trick question to the instructor.
I CD can't have unix permissions or links, so all files must be packaged
in archives like tar, zip , rpm , deb and so on, or even a file system image.
This is not needed for files that can have the default permission, like
documents, pictures , videos ....
What most windows users don't know at all is that unix will use rock ridge
extension for file names on a CD while windows use Juliet, but lucky for
them, most linux users know that windows can't read rock ridge.
Linux can read any of them of course.
/bb
.
- References:
- Unix Runnable format
- From: undisclosed
- Re: Unix Runnable format
- From: Ivan Marsh
- Re: Unix Runnable format
- From: undisclosed
- Re: Unix Runnable format
- From: Jasen Betts
- Unix Runnable format
- Prev by Date: Re: Old version of linux?
- Next by Date: Re: grub refresh problem
- Previous by thread: Re: Unix Runnable format
- Next by thread: Re: Unix Runnable format
- Index(es):
Relevant Pages
|
Loading