Re: 答复: What is meaning of this code: chomd +x mydate

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

 



gumanman wrote:

Thanks a lot! Yes it is my wrong spelling. I am studying linux and find the code"chomd +x mydat" in one book. So it results in that problem that I can't find the correct information through "man". Anycases, thanks again!

-----ååéä-----
åää: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]äè; Brian Fahrlander
åéæé: 2004å10æ13æ 19:15
æää: For users of Fedora Core releases
äé: Re: What is meaning of this code: chomd +x mydate


On Wed, 2004-10-13 at 05:26, Clint Harshaw wrote:


root wrote: <<---- this isn't good. Use root only for maintenance.





Hi,
I want to edit a shell shript file which name is mydate. But How can
I run this shell shript file. Someone told me to use "chomd +x mydate",
but what meaning it is and where I should use!
Thanks a lot!


Be careful of the misspelling -- the command you are looking for is

chmod +x mydate
(not chomd)

Others have already talked about what chmod does and where to find more information about its use, but I just wanted to be sure you caught the spelling needed!



Good call, Clint. On all these commands, don't forget "man chmod", too.

  I didn't realize that no "a" intimates an "a".  I've been using
"chmod a+x myfile" since the late 80's. Good to know.



It means that your file mydat is only a plain text base file, not executable (like in DOS *.exe file), to make it executable, you need to is the command "chmod +x filename", this is kind of basic use of linux command. If you really need to learn Linux, you need to invest - time and $; Buy some books.
there are lots of sources on Internet as well.
Hope this helps you a little.





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux