Accidentally setting home
suvayu ali
fatkasuvayu+linux at gmail.com
Sun May 29 03:03:15 UTC 2011
On Sat, May 28, 2011 at 3:45 PM, Patrick O'Callaghan
<pocallaghan at gmail.com> wrote:
> On Sat, 2011-05-28 at 12:18 -0700, suvayu ali wrote:
>> Hi Michael,
>>
>> On Sat, May 28, 2011 at 6:23 AM, Michael Schwendt <mschwendt at gmail.com> wrote:
>> > because the .* also
>> > includes .., the parent directory, which in this case is /home
>>
>> A quick question, how can one use globs to expand only dotfiles
>> without including ".."?
>
>
> $ ls \.[^.]*
>
Thanks a lot Patrick, I had no idea ls accepted regular expressions!
> poc
--
Suvayu
Open source is the future. It sets us free.
More information about the users
mailing list