Hi,
I have a problem retrieving correct information via the ls command on our AIX system.
For example, the file I'm looking for is called fred.c and if I execute ls -l f* I can see the file along with other f* files. However, if I issue ls -l fr*, I get an error stating fred.c cannot be found.
I suspected that the filename I'm after contains rogue characters, so I piped the command through 'tr' to delete any non printable characters from the file name but this doesn't appear to work either.
Can anyone suggest a solution to this problem, please ?
Thanks
I have a problem retrieving correct information via the ls command on our AIX system.
For example, the file I'm looking for is called fred.c and if I execute ls -l f* I can see the file along with other f* files. However, if I issue ls -l fr*, I get an error stating fred.c cannot be found.
I suspected that the filename I'm after contains rogue characters, so I piped the command through 'tr' to delete any non printable characters from the file name but this doesn't appear to work either.
Can anyone suggest a solution to this problem, please ?
Thanks