Re: dumb question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/04/2012 03:36 PM, Paul Allen Newell wrote:
> Thanks for prompt reply. By this I am assuming that a
> Makefile/makefile and its contents are not deemed a mandatory
> executable as opposed to a *.sh? I am unclear as to what is happening
> under the hood as I thought anything that "executes" needs to be "+x"? 

Makefile doesn't execute....  the "make" command executes.  As I
mentioned, Makefile is just input to make (a.k.a. /usr/bin/make).

I don't know what you mean by *.sh since the concept of extensions
doesn't exist under Linux.  But you may also be interested to know that
"shell" scripts (or files containing shell scripts) need not be executable.

[egreshko@meimei bin]$ ll killfox
-rwxrwxr-x. 1 egreshko egreshko 63 May 25  2011 killfox
[egreshko@meimei bin]$ ./killfox
firefox-bin: no process found
plugin-container: no process found

But also....

[egreshko@meimei bin]$ chmod -x killfox
[egreshko@meimei bin]$ ll killfox
-rw-rw-r--. 1 egreshko egreshko 63 May 25  2011 killfox
[egreshko@meimei bin]$ sh ./killfox
firefox-bin: no process found
plugin-container: no process found


-- 
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in "Mostly Harmless
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux