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

Barry Yu barryyupuilee at sbcglobal.net
Thu Oct 14 15:54:00 UTC 2004


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 at redhat.com
>[mailto:fedora-list-bounces at redhat.com]代表 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.






More information about the users mailing list