01-29-07 06:17 PM
You can actually do this
ls -l |grep -v 'Input'
this might also stop all the files containing 'Input', if you have
other than the mentioned files.
ls -l |grep -v ' XTInput.java'|grep -v 'XPInput.java' |grep -v
'XRInput.jav' |grep -v 'XEInput.java'
This will certainly not include the below mentioned files.
Ramesh Lakshmi
On Jan 29, 4:18 am, Petterson Mikael
<mikael.petter...@era.ericsson.se> wrote:
> Hi,
>
> When I run the ls command I want to "filter" out files that is not to be
> included in when making operations to the files. Any idea how I can to
> that. These files shall not be included:
>
> XTInput.java XPInput.java XRInput.jav XEInput.java
>
> The ones to be filtered out are these for the moment but will change in
> the future.
>
> cheers,
>
> //mikael
[ Post a follow-up to this message ]
|