Re: ls * problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: <Andrew.Bridgeman@xxxxxxxxxxxxxx>
> As per list below i have 9 Redhat machines running version  2.4.18 and 7
> Redhat machines running 2.4.2. I have been having a problem with my  2.4.18
> machines in that when i do a ls * on some directories i get a messages
> saying " No Match" but if i go to the same area on my 2.4.2 machines it
> just lists the files fine as you would expect it too. I had a look into it
> a bit and found a rpm package called lsof. On my 2.4.18 machines i have
> lsof -4.51-2 and on my 2.4.2 machines i have lsof-4.51-1 which means that
> the later version of lsof seems to have the problem. I do not think i can
> go back to 4.51.1 on Redhat from a newer version, so has any body come
> across this problem and if so what did you do to fix it .I would be
> grateful for some instructions on the fix as well  if possible?

lsof's not really anything to do with plain old ls. lsof ListS all Open Files in the system, including things like sockets, devices etc. (In Unix everything's a file.)

Check that there are actually files in the directory you're receiving the "No Match" message. cd into the directory and just type ls without the * and see what that shows. Also check that you're running /bin/ls and it's not aliased to something without you knowing. (Type "alias" to see what aliases are already setup.)

Will.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux