strange ( * vs ./* )

strange ( * vs ./* )

Erez D erez0001 at gmail.com
Wed Apr 9 12:52:06 IDT 2014


erez at homer:~$ grep pppd *
erez at homer:~$

however:

erez at homer:~$ grep pppd ./*
./chat.sh:pppd connect 'chat -v -s ABORT ERROR ABORT'

and:

erez at homer:~$ grep pppd chat.sh
pppd connect 'chat -v -s ABORT ERROR ABORT'

strange !!!



btw:
erez at homer:~$ echo $SHELL
/bin/bash
erez at homer:~$ cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m
erez at homer:~$ uname -a
Linux homer 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 23:51:20 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20140409/51e3a49e/attachment.html>


More information about the Linux-il mailing list