I need a command to count the files in a directory on HP-UX
Posted on 2006-04-25
Hello expert, I have a directory on HP-UX where I have several files and I want to know for example how many file with the extension TAR exist in the directory. I read that the tree command does that in unix and linux but I don't have that tree command on HP-UX and neither on Solaris. can you tell me how I can issue a command to count the files with certain name in a directory on HP-UX? Thanks in advance.