[Tutor] ls *.py[co] >> .hidden

Alan Gauld alan.gauld at btinternet.com
Fri May 22 01:44:13 CEST 2015


On 21/05/15 17:57, Emile van Sebille wrote:
> On 5/21/2015 9:28 AM, Albert-Jan Roskam via Tutor wrote:
>> I just created an alias for this:
>> alias hidepycs="ls *.py[co] > .hidden"
>
> Close -- try
>
> alias ls='ls --hide=*.py[co]'
>

I thought we'd established that this was to
control visibility in the File Manager GUI
not the CLI? So an 'ls' flag isn't going to
help there.

Or am I missing something?

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list