[asterisk-users] CentOS and BAT File
Chris Rowson
christopherrowson at gmail.com
Sun Jan 25 13:16:46 CST 2009
>
>
>> *1) What name I have to save it.Like what extension ?*
>>
>> extension? that isnt important but the common is to use .sh for shell
> scripts
>
That's one of the strange things you'll notice if you're used to a Windows
environment. Under Linux, it doesn't matter if you give your script a file
extension or not. Linux still knows what to do with it.
>
> **
>>
>> 3) How I save it ?
>>
>> open any text editor write and save
>
>> *2) How to run it to execute it ?*
>>
>> set runing permisions chmod +x .....
> and then "./name" there is a dot before the slash.
>
> you should read the links about bash programing, it is a very usefull skill
> for linux admin. and probably you MUST have that skill....
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090125/92594733/attachment.htm
More information about the asterisk-users
mailing list