help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] how to touch an executiable file


From: Eric Blake
Subject: Re: [Help-bash] how to touch an executiable file
Date: Sat, 31 Dec 2011 08:54:05 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

On 12/31/2011 08:50 AM, lina wrote:
> Hi,
> 
> is there one command can be used to be equal to
> 
> touch a.sh
> chmod 755 a.sh

No. But why do you think you need a single command?  What reason do you
have for wanting to do this atomically instead of in two parts?

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]