[lug] Two files with the same name in the same directory?
Sean Reifschneider
jafo at tummy.com
Sun Apr 7 22:02:30 MDT 2002
On Sun, Apr 07, 2002 at 04:00:07PM -0600, Dhruva B. Reddy wrote:
>WAY2FONKY$ ls -l .gnut_hosts*
>-rw-r--r-- 1 d-man d-man 257828 Oct 16 18:21 .gnut_hosts
>-rw-r--r-- 1 d-man d-man 1228 Oct 16 18:21 .gnut_hosts
>WAY2FONKY$
Here are some commands that will give you more information:
[2] guin:tmp$ touch '.gnut_hosts'
[2] guin:tmp$ touch '.gnut_hosts '
[2] guin:tmp$ ls -l .gnut_hosts*
-rw-r--r-- 1 root root 0 Apr 7 22:00 .gnut_hosts
-rw-r--r-- 1 root root 0 Apr 7 22:00 .gnut_hosts
[2] guin:tmp$ ls -b .gnut*
.gnut_hosts .gnut_hosts\
[2] guin:tmp$ ls .gnut_hosts* | od -cb
0000000 . g n u t _ h o s t s \n . g n u
056 147 156 165 164 137 150 157 163 164 163 012 056 147 156 165
0000020 t _ h o s t s \n
164 137 150 157 163 164 163 040 012
0000031
Sean
--
"You took quite a chance..." "You take a chance getting up in the morning,
crossing the street, or sticking your face in a fan." -- Police Squad
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
More information about the LUG
mailing list