Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I correct "list is too long" error

Status
Not open for further replies.

Tison

Programmer
May 12, 1999
216
CH
If I type a command (ls *) I get this message ;
ksh: /usr/bin/ls: 0403-027 The parameter list is too long.

Without limiting my search, how can I stop this error ?
 
Have you tried xargs?

Try -
echo * | xargs ls -l

This should get you what you need, or if displaying to
a terminal, throw another pipe on the end followed by pg
for pagination.

Rick
 
another way is to do

find ./ -name "*" -ls

Gives slightly different information... LHLTech

IBM Certified Specialist - AIX System Support
Halfway through CATE exams!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top