![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TEST command | amatuer_lee_3 | Shell Programming and Scripting | 4 | 05-09-2008 07:36 AM |
| Test command | JWilliams | AIX | 2 | 12-04-2007 02:53 AM |
| Keithley Introduces Linux-Based RF Parametric Test Systems - Test and Measurement.com | iBot | UNIX and Linux RSS News | 0 | 07-23-2007 10:30 AM |
| the TEST command | marwan | UNIX for Dummies Questions & Answers | 2 | 04-23-2007 06:51 PM |
| Intel Benchmark Test: Linux Goes to 600,000 | Neo | News, Links, Events and Announcements | 0 | 06-06-2003 10:11 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Linux test command
Hi,
I was trying to test the presence of some files on Red hat Linux enterprise version 2.4.9 using the following command test -f /home/pv/T20* I am getting the error, too many parameters, when I have multiple files starting with T20 on that directory. When there is no files or just one file, no errors and the command works. Any idea whay I can't check the presence of multiple files? Or is there any other command I can use for this purpose. Thanks in advance for any help. |
|
||||
|
I just want to see(by a a single commad) if there is any file starting with those letters present in that directory so that I can do some processing on those files. test -f /home/pv/T20* command works perfect on HP-UX and I assume it is a bug on this flavor of Linux.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|